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

Unified Diff: chrome/browser/extensions/extension_process_manager.h

Issue 9221017: Hide BrowsingInstance from all but SiteInstance, as intended by design. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make all methods non-public to help ensure BrowsingInstance design is preserved in future. Created 8 years, 11 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
Index: chrome/browser/extensions/extension_process_manager.h
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index 484d36be382d33466c4ebe0baffc29a43dab285f..127086732251bbaa1a9b3e34284261a7b365b867 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -17,7 +17,6 @@
#include "content/public/browser/notification_registrar.h"
class Browser;
-class BrowsingInstance;
class Extension;
class ExtensionHost;
class GURL;
@@ -118,9 +117,10 @@ class ExtensionProcessManager : public content::NotificationObserver {
// The set of running viewless background extensions.
ExtensionHostSet background_hosts_;
- // The BrowsingInstance shared by all extensions in this profile. This
- // controls process grouping.
- scoped_refptr<BrowsingInstance> browsing_instance_;
+ // A SiteInstance related to the SiteInstance for all extensions in
+ // this profile. We create it in such a way that a new
+ // browsing instance is created. This controls process grouping.
+ scoped_refptr<SiteInstance> site_instance_;
private:
// Contains all extension-related RenderViewHost instances for all extensions.

Powered by Google App Engine
This is Rietveld 408576698