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

Unified Diff: ppapi/proxy/plugin_var_serialization_rules.h

Issue 6282007: First pass at making the proxy handle multiple renderers. This associates the... (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/plugin_resource_tracker.cc ('k') | ppapi/proxy/plugin_var_serialization_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_var_serialization_rules.h
===================================================================
--- ppapi/proxy/plugin_var_serialization_rules.h (revision 71973)
+++ ppapi/proxy/plugin_var_serialization_rules.h (working copy)
@@ -18,17 +18,19 @@
public:
// This class will use the given non-owning pointer to the var tracker to
// handle object refcounting and string conversion.
- PluginVarSerializationRules(PluginVarTracker* tracker);
+ PluginVarSerializationRules();
~PluginVarSerializationRules();
// VarSerialization implementation.
- virtual void SendCallerOwned(const PP_Var& var, std::string* str_val);
+ virtual PP_Var SendCallerOwned(const PP_Var& var, std::string* str_val);
virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var,
- const std::string* str_val);
+ const std::string* str_val,
+ Dispatcher* dispatcher);
virtual void EndReceiveCallerOwned(const PP_Var& var);
virtual PP_Var ReceivePassRef(const PP_Var& var,
- const std::string& str_val);
- virtual void BeginSendPassRef(const PP_Var& var, std::string* str_val);
+ const std::string& str_val,
+ Dispatcher* dispatcher);
+ virtual PP_Var BeginSendPassRef(const PP_Var& var, std::string* str_val);
virtual void EndSendPassRef(const PP_Var& var);
virtual void ReleaseObjectRef(const PP_Var& var);
« no previous file with comments | « ppapi/proxy/plugin_resource_tracker.cc ('k') | ppapi/proxy/plugin_var_serialization_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698