Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1804)

Unified Diff: content/public/browser/site_instance.h

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: rebase 461342 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/site_instance.h
diff --git a/content/public/browser/site_instance.h b/content/public/browser/site_instance.h
index 2d1a9a3dbca452b0964bcfe8c70225192839f595..4b75a1b3eb0f045b9177542c4ad061a998316908 100644
--- a/content/public/browser/site_instance.h
+++ b/content/public/browser/site_instance.h
@@ -140,14 +140,17 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance> {
// from scratch (or similar circumstances).
//
// The render process host factory may be nullptr. See SiteInstance
- // constructor.
+ // constructor. |child_process_param_id| is an opaque id used passed to
+ // launch child processes.
static scoped_refptr<SiteInstance> Create(
- content::BrowserContext* browser_context);
+ content::BrowserContext* browser_context,
+ int child_process_param_id = 0);
// Factory method to get the appropriate SiteInstance for the given URL, in
// a new BrowsingInstance. Use this instead of Create when you know the URL,
// since it allows special site grouping rules to be applied (for example,
- // to group chrome-ui pages into the same instance).
+ // to group chrome-ui pages into the same instance). Note
+ // |child_process_param_id| is not here purely because no caller uses it.
static scoped_refptr<SiteInstance> CreateForURL(
content::BrowserContext* browser_context,
const GURL& url);
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698