| Index: chrome/browser/extensions/extension_host.h
|
| diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
|
| index 6c73751b05fb6bf98021b026eb9c184ec14a7cf5..78945dcb4ee4560572ebcdd173941477b95fcaaf 100644
|
| --- a/chrome/browser/extensions/extension_host.h
|
| +++ b/chrome/browser/extensions/extension_host.h
|
| @@ -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.
|
|
|
| @@ -71,6 +71,9 @@ class ExtensionHost : public content::WebContentsDelegate,
|
| // instantiate Browser objects.
|
| void CreateView(Browser* browser);
|
|
|
| + // Helper variant of the above for cases where no Browser is present.
|
| + void CreateViewWithoutBrowser();
|
| +
|
| const Extension* extension() const { return extension_; }
|
| const std::string& extension_id() const { return extension_id_; }
|
| content::WebContents* host_contents() const { return host_contents_.get(); }
|
|
|