Index: chrome/browser/extensions/extension_process_manager.cc |
diff --git a/chrome/browser/extensions/extension_process_manager.cc b/chrome/browser/extensions/extension_process_manager.cc |
index 2db94728a0ec34c931248d3b36f00dbc7a905738..99f975387f4963971b77a7cb7b46a286a70452a3 100644 |
--- a/chrome/browser/extensions/extension_process_manager.cc |
+++ b/chrome/browser/extensions/extension_process_manager.cc |
@@ -116,6 +116,19 @@ ExtensionProcessManager::~ExtensionProcessManager() { |
DCHECK(background_hosts_.empty()); |
} |
+ExtensionHost* ExtensionProcessManager::CreateShellHost( |
+ const Extension* extension, |
+ const GURL& url) { |
+ DCHECK(extension); |
+ ExtensionHost* host = new ExtensionHost(extension, |
+ GetSiteInstanceForURL(url), |
+ url, |
+ chrome::VIEW_TYPE_APP_SHELL); |
+ host->CreateViewWithoutBrowser(); |
+ OnExtensionHostCreated(host, false /* not a background host */); |
+ return host; |
+} |
+ |
ExtensionHost* ExtensionProcessManager::CreateViewHost( |
const Extension* extension, |
const GURL& url, |