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

Unified Diff: base/run_loop.h

Issue 135563004: Nukes MessageLoop::Dispatcher (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/run_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/run_loop.h
diff --git a/base/run_loop.h b/base/run_loop.h
index 112bb79169938ba3db241707637167e2372321d5..5ad92c656257232c362dd57a7323240a4679edb2 100644
--- a/base/run_loop.h
+++ b/base/run_loop.h
@@ -15,6 +15,10 @@ namespace base {
class MessagePumpForUI;
#endif
+#if defined(USE_AURA)
+class MessagePumpDispatcher;
+#endif
+
#if defined(OS_IOS)
class MessagePumpUIApplication;
#endif
@@ -28,12 +32,12 @@ class BASE_EXPORT RunLoop {
public:
RunLoop();
#if defined(USE_AURA)
- explicit RunLoop(MessageLoop::Dispatcher* dispatcher);
+ explicit RunLoop(MessagePumpDispatcher* dispatcher);
#endif
~RunLoop();
#if defined(USE_AURA)
- void set_dispatcher(MessageLoop::Dispatcher* dispatcher) {
+ void set_dispatcher(MessagePumpDispatcher* dispatcher) {
dispatcher_ = dispatcher;
}
#endif
@@ -96,7 +100,7 @@ class BASE_EXPORT RunLoop {
RunLoop* previous_run_loop_;
#if defined(USE_AURA)
- MessageLoop::Dispatcher* dispatcher_;
+ MessagePumpDispatcher* dispatcher_;
#endif
// Used to count how many nested Run() invocations are on the stack.
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/run_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698