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

Unified Diff: base/message_pump_dispatcher.h

Issue 10479018: Add base::RunLoop and update ui_test_utils to use it to reduce flakiness (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: phajdan feedback Created 8 years, 6 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_pump_android.cc ('k') | base/run_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_dispatcher.h
diff --git a/base/message_pump_dispatcher.h b/base/message_pump_dispatcher.h
index 685e92be7d8ee7c8708341363a2ef5c0736181fd..b8efd32cfe0d597a21f9b51169ede4d1289e5609 100644
--- a/base/message_pump_dispatcher.h
+++ b/base/message_pump_dispatcher.h
@@ -11,12 +11,11 @@
namespace base {
-// Dispatcher is used during a nested invocation of Run to dispatch
-// events when |MessageLoop::RunWithDispatcher| is invoked. If
-// |MessageLoop::Run| is invoked, MessageLoop does not dispatch events
-// (or invoke TranslateMessage), rather every message is passed to
-// Dispatcher's Dispatch method for dispatch. It is up to the
-// Dispatcher whether or not to dispatch the event.
+// Dispatcher is used during a nested invocation of Run to dispatch events when
+// |RunLoop(dispatcher).Run()| is used. If |RunLoop().Run()| is invoked,
+// MessageLoop does not dispatch events (or invoke TranslateMessage), rather
+// every message is passed to Dispatcher's Dispatch method for dispatch. It is
+// up to the Dispatcher whether or not to dispatch the event.
//
// The nested loop is exited by either posting a quit, or returning false
// from Dispatch.
« no previous file with comments | « base/message_pump_android.cc ('k') | base/run_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698