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

Unified Diff: ppapi/shared_impl/ppb_message_loop_shared.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/shared_impl/ppapi_globals.cc ('k') | ppapi/shared_impl/thread_aware_callback_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_message_loop_shared.h
diff --git a/ppapi/shared_impl/ppb_message_loop_shared.h b/ppapi/shared_impl/ppb_message_loop_shared.h
index 5dd25226f6631e3b16bcdb7b7df67e1398d882d2..d28d8be486740c449fd3997883b59746bac29913 100644
--- a/ppapi/shared_impl/ppb_message_loop_shared.h
+++ b/ppapi/shared_impl/ppb_message_loop_shared.h
@@ -14,7 +14,7 @@
#include "ppapi/thunk/ppb_message_loop_api.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace tracked_objects {
@@ -48,7 +48,7 @@ class PPAPI_SHARED_EXPORT MessageLoopShared
const base::Closure& closure,
int64 delay_ms) = 0;
- virtual base::MessageLoopProxy* GetMessageLoopProxy() = 0;
+ virtual base::SingleThreadTaskRunner* GetTaskRunner() = 0;
// Returns whether this MessageLoop is currently handling a blocking message
// from JavaScript. This is used to make it illegal to use blocking callbacks
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.cc ('k') | ppapi/shared_impl/thread_aware_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698