diff options
Diffstat (limited to 'chrome/renderer/extensions/chrome_v8_extension.h')
-rw-r--r-- | chrome/renderer/extensions/chrome_v8_extension.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/chrome_v8_extension.h b/chrome/renderer/extensions/chrome_v8_extension.h index 84fda03..4be6587 100644 --- a/chrome/renderer/extensions/chrome_v8_extension.h +++ b/chrome/renderer/extensions/chrome_v8_extension.h @@ -18,13 +18,16 @@ #include <string> class ChromeV8Context; -class Extension; class ExtensionDispatcher; namespace content { class RenderView; } +namespace extensions { +class Extension; +} + // This is a base class for chrome extension bindings. Common features that // are shared by different modules go here. // TODO(koz): Rename this to ExtensionNativeModule. @@ -52,7 +55,7 @@ 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 ::Extension* GetExtensionForCurrentRenderView() const; + const extensions::Extension* GetExtensionForCurrentRenderView() const; // Returns the chromeHidden object for the current context. static v8::Handle<v8::Value> GetChromeHidden(const v8::Arguments& args); |