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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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
« no previous file with comments | « ppapi/proxy/host_resolver_resource_base.h ('k') | ppapi/proxy/interface_list.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "ppapi/c/ppb_var.h" 11 #include "ppapi/c/ppb_var.h"
12 #include "ppapi/proxy/var_serialization_rules.h" 12 #include "ppapi/proxy/var_serialization_rules.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 namespace proxy { 15 namespace proxy {
16 16
17 // Implementation of the VarSerializationRules interface for the host side. 17 // Implementation of the VarSerializationRules interface for the host side.
18 class HostVarSerializationRules : public VarSerializationRules { 18 class HostVarSerializationRules : public VarSerializationRules {
19 public: 19 public:
20 HostVarSerializationRules(); 20 HostVarSerializationRules();
21 ~HostVarSerializationRules(); 21 ~HostVarSerializationRules();
22 22
23 // VarSerialization implementation. 23 // VarSerialization implementation.
24 virtual PP_Var SendCallerOwned(const PP_Var& var); 24 virtual PP_Var SendCallerOwned(const PP_Var& var);
25 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var); 25 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var);
26 virtual void EndReceiveCallerOwned(const PP_Var& var); 26 virtual void EndReceiveCallerOwned(const PP_Var& var);
27 virtual PP_Var ReceivePassRef(const PP_Var& var); 27 virtual PP_Var ReceivePassRef(const PP_Var& var);
28 virtual PP_Var BeginSendPassRef(const PP_Var& var); 28 virtual PP_Var BeginSendPassRef(const PP_Var& var);
29 virtual void EndSendPassRef(const PP_Var& var); 29 virtual void EndSendPassRef(const PP_Var& var);
30 virtual void ReleaseObjectRef(const PP_Var& var); 30 virtual void ReleaseObjectRef(const PP_Var& var);
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(HostVarSerializationRules); 33 DISALLOW_COPY_AND_ASSIGN(HostVarSerializationRules);
34 }; 34 };
35 35
36 } // namespace proxy 36 } // namespace proxy
37 } // namespace ppapi 37 } // namespace ppapi
38 38
39 #endif // PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_ 39 #endif // PPAPI_PROXY_HOST_VAR_SERIALIZATION_RULES_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/host_resolver_resource_base.h ('k') | ppapi/proxy/interface_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698