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

Unified Diff: ppapi/proxy/var_serialization_rules.h

Issue 6334016: Refactor PPAPI proxy resource handling to maintain which host they came from,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/proxy/serialized_var_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/var_serialization_rules.h
===================================================================
--- ppapi/proxy/var_serialization_rules.h (revision 72840)
+++ ppapi/proxy/var_serialization_rules.h (working copy)
@@ -73,10 +73,11 @@
// Prepares a var to be sent to the remote side. One local reference will
// be passed to the remote side. Call Begin* before doing the send and End*
// after doing the send. See SendCallerOwned for a description of the string.
+ //
// The return value from BeginSendPassRef will be the var valid for the host
- // process.
+ // process. This same value must be passed to EndSendPassRef.
virtual PP_Var BeginSendPassRef(const PP_Var& var, std::string* str_val) = 0;
- virtual void EndSendPassRef(const PP_Var& var) = 0;
+ virtual void EndSendPassRef(const PP_Var& var, Dispatcher* dispatcher) = 0;
// ---------------------------------------------------------------------------
« no previous file with comments | « ppapi/proxy/serialized_var_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698