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

Unified Diff: ppapi/shared_impl/ppb_message_loop_shared.h

Issue 46433002: Support using TrackedCallbacks as hints to determine the handling thread of resource reply messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/proxy/websocket_resource_unittest.cc ('k') | ppapi/shared_impl/tracked_callback.h » ('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 fd6d1618d1d4037d2392331c6f6414c46e5a3573..ed7bddb6de0e7675c4b4cb4c81ca645123a9c260 100644
--- a/ppapi/shared_impl/ppb_message_loop_shared.h
+++ b/ppapi/shared_impl/ppb_message_loop_shared.h
@@ -13,6 +13,10 @@
#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_message_loop_api.h"
+namespace base {
+class MessageLoopProxy;
+}
+
namespace tracked_objects {
class Location;
}
@@ -44,6 +48,8 @@ class PPAPI_SHARED_EXPORT MessageLoopShared
const base::Closure& closure,
int64 delay_ms) = 0;
+ virtual base::MessageLoopProxy* GetMessageLoopProxy() = 0;
+
DISALLOW_COPY_AND_ASSIGN(MessageLoopShared);
};
« no previous file with comments | « ppapi/proxy/websocket_resource_unittest.cc ('k') | ppapi/shared_impl/tracked_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698