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

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

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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) 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_VAR_SERIALIZATION_RULES_H_ 5 #ifndef PPAPI_PROXY_VAR_SERIALIZATION_RULES_H_
6 #define PPAPI_PROXY_VAR_SERIALIZATION_RULES_H_ 6 #define PPAPI_PROXY_VAR_SERIALIZATION_RULES_H_
7 7
8 #include "ppapi/c/pp_var.h" 8 #include "ppapi/c/pp_var.h"
9 9
10 #include <string> 10 #include <string>
11 11
12 namespace pp { 12 namespace ppapi {
13 namespace proxy { 13 namespace proxy {
14 14
15 class Dispatcher; 15 class Dispatcher;
16 16
17 // Encapsulates the rules for serializing and deserializing vars to and from 17 // Encapsulates the rules for serializing and deserializing vars to and from
18 // the local process. The renderer and the plugin process each have separate 18 // the local process. The renderer and the plugin process each have separate
19 // bookkeeping rules. 19 // bookkeeping rules.
20 class VarSerializationRules { 20 class VarSerializationRules {
21 public: 21 public:
22 virtual ~VarSerializationRules() {} 22 virtual ~VarSerializationRules() {}
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // --------------------------------------------------------------------------- 82 // ---------------------------------------------------------------------------
83 83
84 virtual void ReleaseObjectRef(const PP_Var& var) = 0; 84 virtual void ReleaseObjectRef(const PP_Var& var) = 0;
85 85
86 protected: 86 protected:
87 VarSerializationRules() {} 87 VarSerializationRules() {}
88 }; 88 };
89 89
90 } // namespace proxy 90 } // namespace proxy
91 } // namespace pp 91 } // namespace ppapi
92 92
93 #endif // PPAPI_PROXY_VAR_SERIALIZATION_RULES_H_ 93 #endif // PPAPI_PROXY_VAR_SERIALIZATION_RULES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698