Chromium Code Reviews| 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() { |
|
Paweł Hajdan Jr.
2013/04/08 20:03:51
nit: I don't think this needs to be inline. Please
Jeffrey Yasskin
2013/04/08 22:09:38
You're saying that if I call it "site_instance_for
Paweł Hajdan Jr.
2013/04/08 22:17:38
Yes, that would be fine for me.
Jeffrey Yasskin
2013/04/08 22:38:02
Done.
|
| + return site_instance_.get(); |
| + } |
| + |
| protected: |
| explicit ExtensionProcessManager(Profile* profile); |