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

Unified Diff: ppapi/host/resource_message_filter.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 | « content/renderer/pepper/v8_var_converter_unittest.cc ('k') | ppapi/host/resource_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/resource_message_filter.h
diff --git a/ppapi/host/resource_message_filter.h b/ppapi/host/resource_message_filter.h
index 5488f98a4bdb0a47df95880ff19a2605b2df8028..910884796bb5e9e9c83104e541dd3c33c2213bad 100644
--- a/ppapi/host/resource_message_filter.h
+++ b/ppapi/host/resource_message_filter.h
@@ -12,7 +12,7 @@
#include "ppapi/host/resource_message_handler.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
class TaskRunner;
}
@@ -86,7 +86,7 @@ class PPAPI_HOST_EXPORT ResourceMessageFilter
// Test constructor. Allows you to specify the message loop which will be used
// to dispatch replies on.
ResourceMessageFilter(
- scoped_refptr<base::MessageLoopProxy> reply_thread_message_loop_proxy);
+ scoped_refptr<base::SingleThreadTaskRunner> reply_thread_task_runner);
// Called when a filter is added to a ResourceHost.
void OnFilterAdded(ResourceHost* resource_host);
@@ -124,12 +124,12 @@ class PPAPI_HOST_EXPORT ResourceMessageFilter
void DispatchMessage(const IPC::Message& msg,
HostMessageContext context);
- scoped_refptr<base::MessageLoopProxy> deletion_message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> deletion_task_runner_;
// Message loop to send resource message replies on. This will be the message
// loop proxy of the IO thread for the browser process or the main thread for
// the renderer process.
- scoped_refptr<base::MessageLoopProxy> reply_thread_message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> reply_thread_task_runner_;
// Non-owning pointer to the resource host owning this filter. Should only be
// accessed from the thread which sends messages to the plugin resource (i.e.
« no previous file with comments | « content/renderer/pepper/v8_var_converter_unittest.cc ('k') | ppapi/host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698