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

Unified Diff: mojo/examples/pepper_container_app/plugin_instance.cc

Issue 564573002: PPAPI: Make PPP_MessageHandler work in PNaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 6 years, 3 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
Index: mojo/examples/pepper_container_app/plugin_instance.cc
diff --git a/mojo/examples/pepper_container_app/plugin_instance.cc b/mojo/examples/pepper_container_app/plugin_instance.cc
index 8817528ef79d28fe6243d76863de532f5760d913..e0b08ef38551fe221fdaa21aed4c20067bdefd01 100644
--- a/mojo/examples/pepper_container_app/plugin_instance.cc
+++ b/mojo/examples/pepper_container_app/plugin_instance.cc
@@ -229,7 +229,17 @@ void PluginInstance::PostMessage(PP_Instance instance, PP_Var message) {
int32_t PluginInstance::RegisterMessageHandler(
PP_Instance instance,
void* user_data,
- const PPP_MessageHandler_0_1* handler,
+ const PPP_MessageHandler_0_2* handler,
+ PP_Resource message_loop) {
+ NOTIMPLEMENTED();
+ return PP_ERROR_FAILED;
+}
+
+// TODO(dmichael): Remove this. crbug.com/414398
+int32_t PluginInstance::RegisterMessageHandler_1_1_Deprecated(
+ PP_Instance instance,
+ void* user_data,
+ const PPP_MessageHandler_0_1_Deprecated* handler,
PP_Resource message_loop) {
NOTIMPLEMENTED();
return PP_ERROR_FAILED;
« no previous file with comments | « mojo/examples/pepper_container_app/plugin_instance.h ('k') | native_client_sdk/src/libraries/ppapi/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698