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

Unified Diff: base/message_loop.cc

Issue 8156: Switch MessagePumpForIO to use completion ports on Windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « base/message_loop.h ('k') | base/message_loop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.cc
===================================================================
--- base/message_loop.cc (revision 4870)
+++ base/message_loop.cc (working copy)
@@ -573,7 +573,7 @@
pump_win()->DidProcessMessage(message);
}
void MessageLoopForUI::PumpOutPendingPaintMessages() {
- pump_win()->PumpOutPendingPaintMessages();
+ pump_ui()->PumpOutPendingPaintMessages();
}
#endif // defined(OS_WIN)
@@ -583,17 +583,12 @@
#if defined(OS_WIN)
-void MessageLoopForIO::WatchObject(HANDLE object, Watcher* watcher) {
- pump_io()->WatchObject(object, watcher);
-}
-
void MessageLoopForIO::RegisterIOHandler(HANDLE file, IOHandler* handler) {
pump_io()->RegisterIOHandler(file, handler);
}
-void MessageLoopForIO::RegisterIOContext(OVERLAPPED* context,
- IOHandler* handler) {
- pump_io()->RegisterIOContext(context, handler);
+bool MessageLoopForIO::WaitForIOCompletion(DWORD timeout, IOHandler* filter) {
+ return pump_io()->WaitForIOCompletion(timeout, filter);
}
#elif defined(OS_POSIX)
« no previous file with comments | « base/message_loop.h ('k') | base/message_loop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698