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

Unified Diff: chrome/renderer/extensions/chrome_v8_extension.h

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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/renderer/extensions/chrome_v8_extension.h
diff --git a/chrome/renderer/extensions/chrome_v8_extension.h b/chrome/renderer/extensions/chrome_v8_extension.h
index 7d3148261d818b0cca65c271c9706481ca0e67b4..583b629aece05291e7dd867ee4724ad917ab0db7 100644
--- a/chrome/renderer/extensions/chrome_v8_extension.h
+++ b/chrome/renderer/extensions/chrome_v8_extension.h
@@ -16,16 +16,15 @@
#include <set>
#include <string>
-class ChromeV8Context;
-class ExtensionDispatcher;
namespace content {
class RenderView;
}
namespace extensions {
+class ChromeV8Context;
+class Dispatcher;
class Extension;
-}
// This is a base class for chrome extension bindings. Common features that
// are shared by different modules go here.
@@ -35,10 +34,10 @@ class ChromeV8Extension : public NativeHandler {
typedef std::set<ChromeV8Extension*> InstanceSet;
static const InstanceSet& GetAll();
- explicit ChromeV8Extension(ExtensionDispatcher* extension_dispatcher);
+ explicit ChromeV8Extension(Dispatcher* dispatcher);
virtual ~ChromeV8Extension();
- ExtensionDispatcher* extension_dispatcher() { return extension_dispatcher_; }
+ Dispatcher* dispatcher() { return dispatcher_; }
protected:
template<class T>
@@ -54,15 +53,17 @@ class ChromeV8Extension : public NativeHandler {
// Note: do not call this function before or during the chromeHidden.onLoad
// event dispatch. The URL might not have been committed yet and might not
// be an extension URL.
- const extensions::Extension* GetExtensionForCurrentRenderView() const;
+ const Extension* GetExtensionForCurrentRenderView() const;
// Returns the chromeHidden object for the current context.
static v8::Handle<v8::Value> GetChromeHidden(const v8::Arguments& args);
- ExtensionDispatcher* extension_dispatcher_;
+ Dispatcher* dispatcher_;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeV8Extension);
};
+} // namespace extensions
+
#endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_context_set_unittest.cc ('k') | chrome/renderer/extensions/chrome_v8_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698