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

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

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 9dba1c09f41abff5e77bce1e2e1617b9fa5c0d2e..8b8e80a7814deae048ba2d6744972f28f560fd84 100644
--- a/chrome/renderer/extensions/user_script_slave.h
+++ b/chrome/renderer/extensions/user_script_slave.h
@@ -20,11 +20,11 @@
class ExtensionSet;
class GURL;
-namespace WebKit {
+namespace blink {
class WebFrame;
}
-using WebKit::WebScriptSource;
+using blink::WebScriptSource;
namespace extensions {
class Extension;
@@ -34,7 +34,7 @@ class UserScriptSlave {
public:
// Utility to get the URL we will match against for a frame. If the frame has
// committed, this is the commited URL. Otherwise it is the provisional URL.
- static GURL GetDataSourceURLForFrame(const WebKit::WebFrame* frame);
+ static GURL GetDataSourceURLForFrame(const blink::WebFrame* frame);
explicit UserScriptSlave(const ExtensionSet* extensions);
~UserScriptSlave();
@@ -48,13 +48,13 @@ class UserScriptSlave {
// Inject the appropriate scripts into a frame based on its URL.
// TODO(aa): Extract a UserScriptFrame interface out of this to improve
// testability.
- void InjectScripts(WebKit::WebFrame* frame, UserScript::RunLocation location);
+ void InjectScripts(blink::WebFrame* frame, UserScript::RunLocation location);
// 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,
- WebKit::WebFrame* frame);
+ blink::WebFrame* frame);
// Gets the id of the extension running in a given isolated world. If no such
// isolated world exists, or no extension is running in it, returns empty
« 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