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

Unified Diff: webkit/plugins/ppapi/message_channel.h

Issue 16140011: Don't send PP_Vars/V8 values with cycles across PostMessage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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: webkit/plugins/ppapi/message_channel.h
diff --git a/webkit/plugins/ppapi/message_channel.h b/webkit/plugins/ppapi/message_channel.h
index 25730973f3483a331a7aa7b4507b86a8ed8eb269..07277cddf68eecc4cae1bb3e251242a6beb3b973 100644
--- a/webkit/plugins/ppapi/message_channel.h
+++ b/webkit/plugins/ppapi/message_channel.h
@@ -53,7 +53,9 @@ class MessageChannel {
void PostMessageToJavaScript(PP_Var message_data);
// Post a message to the PPP_Instance HandleMessage function for this
// channel's instance.
- void PostMessageToNative(PP_Var message_data);
+ void PostMessageToNative(PP_Var message_data,
+ bool success,
+ const std::string& error);
// Return the NPObject* to which we should forward any calls which aren't
// related to postMessage. Note that this can be NULL; it only gets set if

Powered by Google App Engine
This is Rietveld 408576698