| 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 5d3ffb8cee059e2c8700aea3d8167ce34082cd11..9cf644ccf8f8fe20514ebd2e16689957003605bc 100644
|
| --- a/chrome/browser/extensions/extension_process_manager.cc
|
| +++ b/chrome/browser/extensions/extension_process_manager.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -115,6 +115,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,
|
|
|