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

Unified Diff: ppapi/nacl_irt/ppapi_dispatcher.h

Issue 1174543002: ppapi: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix V8VarConverterTest. 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 | « ppapi/nacl_irt/plugin_startup.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/ppapi_dispatcher.h
diff --git a/ppapi/nacl_irt/ppapi_dispatcher.h b/ppapi/nacl_irt/ppapi_dispatcher.h
index 56f319141b065e01b7bd0e63dac104b0bbc94a0b..88e91bedc45de6419ea82435077e9c2b5c022598 100644
--- a/ppapi/nacl_irt/ppapi_dispatcher.h
+++ b/ppapi/nacl_irt/ppapi_dispatcher.h
@@ -24,7 +24,7 @@
struct PP_BrowserFont_Trusted_Description;
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
class WaitableEvent;
} // namespace base
@@ -46,7 +46,7 @@ class PpapiDispatcher : public proxy::PluginDispatcher::PluginDelegate,
public IPC::Listener,
public IPC::Sender {
public:
- PpapiDispatcher(scoped_refptr<base::MessageLoopProxy> io_loop,
+ PpapiDispatcher(scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
base::WaitableEvent* shutdown_event,
int browser_ipc_fd,
int renderer_ipc_fd);
@@ -90,7 +90,7 @@ class PpapiDispatcher : public proxy::PluginDispatcher::PluginDelegate,
std::map<uint32, proxy::PluginDispatcher*> plugin_dispatchers_;
uint32 next_plugin_dispatcher_id_;
- scoped_refptr<base::MessageLoopProxy> message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::WaitableEvent* shutdown_event_;
int renderer_ipc_fd_;
scoped_ptr<IPC::SyncChannel> channel_;
« no previous file with comments | « ppapi/nacl_irt/plugin_startup.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698