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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/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_;
« no previous file with comments | « chrome/renderer/extensions/user_script_scheduler.cc ('k') | chrome/renderer/extensions/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698