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

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

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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_scheduler.h
diff --git a/chrome/renderer/extensions/user_script_scheduler.h b/chrome/renderer/extensions/user_script_scheduler.h
index 20de23484a818aa6a315b50f393f6cc213c38aae..c0da590707f6f75709bf9881c4f807ec0ffc15c9 100644
--- a/chrome/renderer/extensions/user_script_scheduler.h
+++ b/chrome/renderer/extensions/user_script_scheduler.h
@@ -12,7 +12,6 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/weak_ptr.h"
-class ExtensionDispatcher;
class RenderView;
struct ExtensionMsg_ExecuteCode_Params;
@@ -21,6 +20,7 @@ class WebFrame;
}
namespace extensions {
+class Dispatcher;
// Implements support for injecting scripts at different times in the document
// loading process. The different possible time are described in
@@ -39,12 +39,11 @@ namespace extensions {
// NOTE: this class does not inherit from RenderViewObserver on purpose. The
// reason is that this object is per frame, and a frame can move across
// RenderViews thanks to adoptNode. So we have each RenderView's
-// ExtensionHelper proxy these calls to the renderer process'
-// ExtensionDispatcher, which contains the mapping from WebFrame to us.
+// ExtensionHelper proxy these calls to the renderer process' Dispatcher,
+// which contains the mapping from WebFrame to us.
class UserScriptScheduler {
public:
- UserScriptScheduler(WebKit::WebFrame* frame,
- ExtensionDispatcher* extension_dispatcher);
+ UserScriptScheduler(WebKit::WebFrame* frame, Dispatcher* dispatcher);
~UserScriptScheduler();
void ExecuteCode(const ExtensionMsg_ExecuteCode_Params& params);
@@ -88,7 +87,7 @@ class UserScriptScheduler {
// This is only used if we're for the main frame.
std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_;
- ExtensionDispatcher* extension_dispatcher_;
+ Dispatcher* dispatcher_;
};
} // namespace extensions
« no previous file with comments | « chrome/renderer/extensions/tts_custom_bindings.cc ('k') | chrome/renderer/extensions/user_script_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698