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

Unified Diff: chrome/browser/nacl_host/nacl_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/nacl_host/nacl_process_host.cc
diff --git a/chrome/browser/nacl_host/nacl_process_host.cc b/chrome/browser/nacl_host/nacl_process_host.cc
index a2f383ede626ae2420426d16d4b7ec9833e354cb..e67b0df30657c1aa7ccc755213fb90cebcdc99d6 100644
--- a/chrome/browser/nacl_host/nacl_process_host.cc
+++ b/chrome/browser/nacl_host/nacl_process_host.cc
@@ -404,7 +404,7 @@ scoped_ptr<CommandLine> NaClProcessHost::GetCommandForLaunchWithGdb(
}
#elif defined(OS_LINUX)
class NaClProcessHost::NaClGdbWatchDelegate
- : public MessageLoopForIO::Watcher {
+ : public base::MessageLoopForIO::Watcher {
public:
// fd_write_ is used by nacl-gdb via /proc/browser_PID/fd/fd_write_
NaClGdbWatchDelegate(int fd_read, int fd_write,
@@ -482,10 +482,10 @@ bool NaClProcessHost::LaunchNaClGdb(base::ProcessId pid) {
fds[0], fds[1],
base::Bind(&NaClProcessHost::OnNaClGdbAttached,
weak_factory_.GetWeakPtr())));
- MessageLoopForIO::current()->WatchFileDescriptor(
+ base::MessageLoopForIO::current()->WatchFileDescriptor(
fds[0],
true,
- MessageLoopForIO::WATCH_READ,
+ base::MessageLoopForIO::WATCH_READ,
&nacl_gdb_watcher_,
nacl_gdb_watcher_delegate_.get());
return base::LaunchProcess(cmd_line, base::LaunchOptions(), NULL);
« no previous file with comments | « chrome/browser/nacl_host/nacl_process_host.h ('k') | chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698