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

Side by Side Diff: ppapi/proxy/host_var_serialization_rules.h

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HOST_VAR_SERIALIZATION_RULES_H_ 5 #ifndef PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_
6 #define PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_ 6 #define PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_
7 7
8 #include <string>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "ppapi/c/pp_module.h" 11 #include "ppapi/c/pp_module.h"
10 #include "ppapi/proxy/var_serialization_rules.h" 12 #include "ppapi/proxy/var_serialization_rules.h"
11 13
12 struct PPB_Var; 14 struct PPB_Var;
13 15
14 namespace ppapi { 16 namespace ppapi {
15 namespace proxy { 17 namespace proxy {
16 18
17 class VarTracker;
18
19 // Implementation of the VarSerializationRules interface for the host side. 19 // Implementation of the VarSerializationRules interface for the host side.
20 class HostVarSerializationRules : public VarSerializationRules { 20 class HostVarSerializationRules : public VarSerializationRules {
21 public: 21 public:
22 HostVarSerializationRules(const PPB_Var* var_interface, 22 HostVarSerializationRules(const PPB_Var* var_interface,
23 PP_Module pp_module); 23 PP_Module pp_module);
24 ~HostVarSerializationRules(); 24 ~HostVarSerializationRules();
25 25
26 // VarSerialization implementation. 26 // VarSerialization implementation.
27 virtual PP_Var SendCallerOwned(const PP_Var& var, std::string* str_val); 27 virtual PP_Var SendCallerOwned(const PP_Var& var, std::string* str_val);
28 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var, 28 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var,
(...skipping 15 matching lines...) Expand all
44 const PPB_Var* var_interface_; 44 const PPB_Var* var_interface_;
45 PP_Module pp_module_; 45 PP_Module pp_module_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(HostVarSerializationRules); 47 DISALLOW_COPY_AND_ASSIGN(HostVarSerializationRules);
48 }; 48 };
49 49
50 } // namespace proxy 50 } // namespace proxy
51 } // namespace ppapi 51 } // namespace ppapi
52 52
53 #endif // PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_ 53 #endif // PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698