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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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/browser/extensions/api/messaging/native_message_process_host.cc
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.cc b/chrome/browser/extensions/api/messaging/native_message_process_host.cc
index 6e32df8fcc1c34f1139fcde39403474b965ffd06..a856d2bab4cc1d4dbe0a51c82fbe5fc23bdeb0d1 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host.cc
@@ -197,8 +197,8 @@ void NativeMessageProcessHost::WaitRead() {
// would always be consuming one thread in the thread pool. On Windows
// FileStream uses overlapped IO, so that optimization isn't necessary there.
#if defined(OS_POSIX)
- MessageLoopForIO::current()->WatchFileDescriptor(
- read_file_, false /* persistent */, MessageLoopForIO::WATCH_READ,
+ base::MessageLoopForIO::current()->WatchFileDescriptor(
+ read_file_, false /* persistent */, base::MessageLoopForIO::WATCH_READ,
&read_watcher_, this);
#else // defined(OS_POSIX)
DoRead();

Powered by Google App Engine
This is Rietveld 408576698