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

Unified Diff: ppapi/nacl_irt/manifest_service.cc

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/manifest_service.h ('k') | ppapi/nacl_irt/plugin_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/manifest_service.cc
diff --git a/ppapi/nacl_irt/manifest_service.cc b/ppapi/nacl_irt/manifest_service.cc
index a97c5d42d02c10e88160e26045c63bc0b0556436..8a6ec1f641835bae0181f12acb432585a3a8ad62 100644
--- a/ppapi/nacl_irt/manifest_service.cc
+++ b/ppapi/nacl_irt/manifest_service.cc
@@ -4,7 +4,7 @@
#include "ppapi/nacl_irt/manifest_service.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/single_thread_task_runner.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_sync_message_filter.h"
@@ -66,13 +66,12 @@ class ManifestMessageFilter : public IPC::SyncMessageFilter {
ManifestService::ManifestService(
const IPC::ChannelHandle& handle,
- scoped_refptr<base::MessageLoopProxy> io_message_loop,
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
base::WaitableEvent* shutdown_event) {
filter_ = new ManifestMessageFilter(shutdown_event);
- channel_ = IPC::ChannelProxy::Create(handle,
- IPC::Channel::MODE_SERVER,
+ channel_ = IPC::ChannelProxy::Create(handle, IPC::Channel::MODE_SERVER,
NULL, // Listener
- io_message_loop.get());
+ io_task_runner.get());
channel_->AddFilter(filter_.get());
}
« no previous file with comments | « ppapi/nacl_irt/manifest_service.h ('k') | ppapi/nacl_irt/plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698