Send the extension tab ID to the render view when TabHelper is created in
addition to when a render view is created. This fixes a (easily reproducible)
race condition preventing activeTab from working when tabs are opened from
other websites (i.e. that share processes, presumably).

BUG=239374

Review URL: https://chromiumcodereview.appspot.com/15389002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201182 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index fe9da6f..c5b6d23 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -217,6 +217,9 @@
   // the data is available.
   void GetApplicationInfo(int32 page_id);
 
+  // Sends our tab ID to |render_view_host|.
+  void SetTabId(content::RenderViewHost* render_view_host);
+
   // Data for app extensions ---------------------------------------------------
 
   // Our content script observers. Declare at top so that it will outlive all