Index: chrome/renderer/extensions/user_script_slave.h |
diff --git a/chrome/renderer/extensions/user_script_slave.h b/chrome/renderer/extensions/user_script_slave.h |
index d2f5fecaa06f0dd4c7035c1fee23f164253d2f81..fad2f42183ce0f74804769ff074e8d5a7a8a0c8c 100644 |
--- a/chrome/renderer/extensions/user_script_slave.h |
+++ b/chrome/renderer/extensions/user_script_slave.h |
@@ -18,10 +18,13 @@ |
#include "chrome/common/extensions/user_script.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" |
-class Extension; |
class ExtensionSet; |
class GURL; |
+namespace extensions { |
+class Extension; |
+} |
+ |
namespace WebKit { |
class WebFrame; |
} |
@@ -52,7 +55,7 @@ class UserScriptSlave { |
// Gets the isolated world ID to use for the given |extension| in the given |
// |frame|. If no isolated world has been created for that extension, |
// one will be created and initialized. |
- int GetIsolatedWorldIdForExtension(const Extension* extension, |
+ int GetIsolatedWorldIdForExtension(const extensions::Extension* extension, |
WebKit::WebFrame* frame); |
// Gets the id of the extension running in a given isolated world. If no such |
@@ -64,7 +67,7 @@ class UserScriptSlave { |
private: |
static void InitializeIsolatedWorld(int isolated_world_id, |
- const Extension* extension); |
+ const extensions::Extension* extension); |
// Shared memory containing raw script data. |
scoped_ptr<base::SharedMemory> shared_memory_; |