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

Side by Side Diff: ppapi/proxy/plugin_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_
6 #define PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_ 6 #define PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ppapi/proxy/var_serialization_rules.h" 9 #include "ppapi/proxy/var_serialization_rules.h"
10 10
(...skipping 13 matching lines...) Expand all
24 // VarSerialization implementation. 24 // VarSerialization implementation.
25 virtual PP_Var SendCallerOwned(const PP_Var& var, std::string* str_val); 25 virtual PP_Var SendCallerOwned(const PP_Var& var, std::string* str_val);
26 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var, 26 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var,
27 const std::string* str_val, 27 const std::string* str_val,
28 Dispatcher* dispatcher); 28 Dispatcher* dispatcher);
29 virtual void EndReceiveCallerOwned(const PP_Var& var); 29 virtual void EndReceiveCallerOwned(const PP_Var& var);
30 virtual PP_Var ReceivePassRef(const PP_Var& var, 30 virtual PP_Var ReceivePassRef(const PP_Var& var,
31 const std::string& str_val, 31 const std::string& str_val,
32 Dispatcher* dispatcher); 32 Dispatcher* dispatcher);
33 virtual PP_Var BeginSendPassRef(const PP_Var& var, std::string* str_val); 33 virtual PP_Var BeginSendPassRef(const PP_Var& var, std::string* str_val);
34 virtual void EndSendPassRef(const PP_Var& var); 34 virtual void EndSendPassRef(const PP_Var& var, Dispatcher* dispatcher);
35 virtual void ReleaseObjectRef(const PP_Var& var); 35 virtual void ReleaseObjectRef(const PP_Var& var);
36 36
37 private: 37 private:
38 PluginVarTracker* var_tracker_; 38 PluginVarTracker* var_tracker_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(PluginVarSerializationRules); 40 DISALLOW_COPY_AND_ASSIGN(PluginVarSerializationRules);
41 }; 41 };
42 42
43 } // namespace proxy 43 } // namespace proxy
44 } // namespace pp 44 } // namespace pp
45 45
46 #endif // PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_ 46 #endif // PPAPI_PROXY_PLUGIN_VAR_SERIALIZATION_RULES_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_resource_tracker_unittest.cc ('k') | ppapi/proxy/plugin_var_serialization_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698