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

Unified Diff: base/message_loop/message_pump_win.h

Issue 1189133003: Ensure that the wake up timer set by the UI worker thread in the UI message pump on Windows is set … Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | base/message_loop/message_pump_win.cc » ('j') | base/message_loop/message_pump_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_win.h
diff --git a/base/message_loop/message_pump_win.h b/base/message_loop/message_pump_win.h
index 042efdf9d9f72909aab052cfc99a762c376a14b6..ca94b59dfafe55fca637127fd1a254a4245f260a 100644
--- a/base/message_loop/message_pump_win.h
+++ b/base/message_loop/message_pump_win.h
@@ -171,6 +171,11 @@ class BASE_EXPORT MessagePumpForUI : public MessagePumpWin {
// The UI worker thread waits on this timer indefinitely. When the main
// thread has tasks ready to be processed it sets the timer.
base::win::ScopedHandle ui_worker_thread_timer_;
+
+ // This flag controls whether the UI worker thread sets the waitable timer
+ // to ensure that tasks missed in one timer iteration get picked in the
+ // second.
+ long force_fallback_timer_for_tasks_;
brucedawson 2015/06/19 21:09:01 I believe we are now allowed to use in-place initi
ananta 2015/06/19 22:19:10 Leaving this as is for consistency for now.
};
//-----------------------------------------------------------------------------
« no previous file with comments | « no previous file | base/message_loop/message_pump_win.cc » ('j') | base/message_loop/message_pump_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698