Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4178)

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index 6df6308755ecf2567f5ade6874df2717acf61996..f3c135220d9197df91586ef8b2e6f250d7e23c2b 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -41,7 +41,6 @@ class SiteInstance;
namespace extensions {
class Extension;
class WindowController;
-}
// This class is the browser component of an extension component's RenderView.
// It handles setting up the renderer process, if needed, with special
@@ -65,7 +64,7 @@ class ExtensionHost : public content::WebContentsDelegate,
typedef ExtensionViewAndroid PlatformExtensionView;
#endif
- ExtensionHost(const extensions::Extension* extension,
+ ExtensionHost(const Extension* extension,
content::SiteInstance* site_instance,
const GURL& url, chrome::ViewType host_type);
virtual ~ExtensionHost();
@@ -94,7 +93,7 @@ class ExtensionHost : public content::WebContentsDelegate,
// instantiate Browser objects.
void CreateView(Browser* browser);
- const extensions::Extension* extension() const { return extension_; }
+ const Extension* extension() const { return extension_; }
const std::string& extension_id() const { return extension_id_; }
content::WebContents* host_contents() const { return host_contents_.get(); }
content::RenderViewHost* render_view_host() const;
@@ -204,7 +203,7 @@ class ExtensionHost : public content::WebContentsDelegate,
bool is_background_page() const { return !view(); }
// The extension that we're hosting in this view.
- const extensions::Extension* extension_;
+ const Extension* extension_;
// Id of extension that we're hosting in this view.
const std::string extension_id_;
@@ -256,4 +255,6 @@ class ExtensionHost : public content::WebContentsDelegate,
DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
};
+} // namespace extensions
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698