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

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

Issue 10696176: Move UserScript and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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 8f4aa8708eff6013237d0ee0e6643931abab40c2..02b61cf73633bac76255c274343053810449c5bf 100644
--- a/chrome/renderer/extensions/user_script_slave.h
+++ b/chrome/renderer/extensions/user_script_slave.h
@@ -20,16 +20,15 @@
class ExtensionSet;
class GURL;
-namespace extensions {
-class Extension;
-}
-
namespace WebKit {
class WebFrame;
}
using WebKit::WebScriptSource;
+namespace extensions {
+class Extension;
+
// Manages installed UserScripts for a render process.
class UserScriptSlave {
public:
@@ -54,7 +53,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 extensions::Extension* extension,
+ int GetIsolatedWorldIdForExtension(const Extension* extension,
WebKit::WebFrame* frame);
// Gets the id of the extension running in a given isolated world. If no such
@@ -66,7 +65,7 @@ class UserScriptSlave {
private:
static void InitializeIsolatedWorld(int isolated_world_id,
- const extensions::Extension* extension);
+ const Extension* extension);
// Shared memory containing raw script data.
scoped_ptr<base::SharedMemory> shared_memory_;
@@ -87,4 +86,6 @@ class UserScriptSlave {
DISALLOW_COPY_AND_ASSIGN(UserScriptSlave);
};
+} // namespace extensions
+
#endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_
« 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