Move ExtensionHost into extensions namespace
BUG=139042,117261
Review URL: https://chromiumcodereview.appspot.com/10824030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149295 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index 6df6308..f3c1352 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -41,7 +41,6 @@
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 @@
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 @@
// 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 @@
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 @@
DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
};
+} // namespace extensions
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_