Index: content/browser/browsing_instance.h |
diff --git a/content/browser/browsing_instance.h b/content/browser/browsing_instance.h |
index 34c1f073bbd852c260aecf8eade45656d6d10005..9e3dfe5126281e275a5ae9d7aa09a60abd34a0ae 100644 |
--- a/content/browser/browsing_instance.h |
+++ b/content/browser/browsing_instance.h |
@@ -65,13 +65,16 @@ class CONTENT_EXPORT BrowsingInstance final |
OneSiteInstancePerSiteInBrowserContext); |
// Create a new BrowsingInstance. |
- explicit BrowsingInstance(BrowserContext* context); |
+ BrowsingInstance(BrowserContext* context, int child_process_param_id); |
~BrowsingInstance(); |
// Get the browser context to which this BrowsingInstance belongs. |
BrowserContext* browser_context() const { return browser_context_; } |
+ // An opaque id used passed to ChildProcessLauncher to launch child processes. |
+ int child_process_param_id() const { return child_process_param_id_; } |
+ |
// Returns whether this BrowsingInstance has registered a SiteInstance for |
// the site of the given URL. |
bool HasSiteInstance(const GURL& url); |
@@ -113,6 +116,8 @@ class CONTENT_EXPORT BrowsingInstance final |
// must belong. |
BrowserContext* const browser_context_; |
+ const int child_process_param_id_; |
+ |
// Map of site to SiteInstance, to ensure we only have one SiteInstance per |
// site. The site string should be the possibly_invalid_spec() of a GURL |
// obtained with SiteInstanceImpl::GetSiteForURL. Note that this map may not |