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

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

Issue 13533007: Test extension reloading behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Pawel's and Matt's comments Created 7 years, 8 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 d0c747cbb49eab5ca7824eec257f71d1a930ed70..812326fa3a18bec7e003b3100e15c6be9ee30e26 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -22,6 +22,7 @@ class GURL;
class Profile;
namespace content {
+class RenderProcessHostFactory;
class RenderViewHost;
class SiteInstance;
};
@@ -138,6 +139,12 @@ class ExtensionProcessManager : public content::NotificationObserver {
// onSuspendCanceled() event to it.
void CancelSuspend(const extensions::Extension* extension);
+ // Retrieves the base SiteInstance that is used to create the SiteInstances
+ // for all extensions in this profile.
+ content::SiteInstance* GetSiteInstanceForTest() {
+ return site_instance_.get();
+ }
+
protected:
explicit ExtensionProcessManager(Profile* profile);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service_unittest.h » ('j') | content/public/browser/site_instance.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698