Index: chrome/browser/extensions/extension_view_host_factory.h |
diff --git a/chrome/browser/extensions/extension_view_host_factory.h b/chrome/browser/extensions/extension_view_host_factory.h |
index 5bc388c38e6a555a3c34193662000e4c60a67831..f8e1e3750cacaf0f21a1897730c298eecbbfca69 100644 |
--- a/chrome/browser/extensions/extension_view_host_factory.h |
+++ b/chrome/browser/extensions/extension_view_host_factory.h |
@@ -28,6 +28,12 @@ class ExtensionViewHostFactory { |
// hence only require a |profile|. |
static ExtensionViewHost* CreateDialogHost(const GURL& url, Profile* profile); |
+ // Creates a new ExtensionHost with its associated view, grouping it in the |
+ // appropriate SiteInstance (and therefore process) based on the URL and |
+ // profile. |
+ static ExtensionViewHost* CreateSidebarHost(const GURL& url, |
+ Browser* browser); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(ExtensionViewHostFactory); |
}; |