summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 22:02:24 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 22:02:24 +0000
commit800c8d730fc85e7bf9b548947f5842828346c485 (patch)
tree3522f743ae1e8d474278af6ca28e4a0183de4175 /base/message_loop.cc
parent6c64593b006e833c6712c534acccbb2b79126135 (diff)
downloadchromium_src-800c8d730fc85e7bf9b548947f5842828346c485.zip
chromium_src-800c8d730fc85e7bf9b548947f5842828346c485.tar.gz
chromium_src-800c8d730fc85e7bf9b548947f5842828346c485.tar.bz2
Revert 139635 - PPAPI/NaCl: Speculative implementation for ipc_channel_nacl.cc
BUG=116317 TEST= Review URL: https://chromiumcodereview.appspot.com/10174048 TBR=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/10456039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index a207659..dd8ba3a 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -151,12 +151,10 @@ MessageLoop::MessageLoop(Type type)
#define MESSAGE_PUMP_UI base::MessagePumpMac::Create()
#define MESSAGE_PUMP_IO new base::MessagePumpLibevent()
#elif defined(OS_NACL)
-// Currently NaCl doesn't have a UI MessageLoop.
-// TODO(abarth): Figure out if we need this.
+// Currently NaCl doesn't have a UI or an IO MessageLoop.
+// TODO(abarth): Figure out if we need these.
#define MESSAGE_PUMP_UI NULL
-// ipc_channel_nacl.cc uses a worker thread to do socket reads currently, and
-// doesn't require extra support for watching file descriptors.
-#define MESSAGE_PUMP_IO new base::MessagePumpDefault();
+#define MESSAGE_PUMP_IO NULL
#elif defined(OS_POSIX) // POSIX but not MACOSX.
#define MESSAGE_PUMP_UI new base::MessagePumpForUI()
#define MESSAGE_PUMP_IO new base::MessagePumpLibevent()