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

Side by Side Diff: content/renderer/browser_plugin/old/browser_plugin_var_serialization_rules.h

Issue 10829219: Browser Plugin: Move to old namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 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) 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 CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_RUL ES_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_RUL ES_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_RUL ES_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_RUL ES_H_
7 7
8 #include "ppapi/proxy/var_serialization_rules.h" 8 #include "ppapi/proxy/var_serialization_rules.h"
9 9
10 namespace content { 10 namespace content {
11 namespace old {
11 12
12 // Implementation of the VarSerializationRules interface for the browser plugin. 13 // Implementation of the VarSerializationRules interface for the browser plugin.
13 class BrowserPluginVarSerializationRules : 14 class BrowserPluginVarSerializationRules :
14 public ppapi::proxy::VarSerializationRules { 15 public ppapi::proxy::VarSerializationRules {
15 public: 16 public:
16 explicit BrowserPluginVarSerializationRules(); 17 explicit BrowserPluginVarSerializationRules();
17 18
18 // VarSerialization implementation. 19 // VarSerialization implementation.
19 virtual PP_Var SendCallerOwned(const PP_Var& var) OVERRIDE; 20 virtual PP_Var SendCallerOwned(const PP_Var& var) OVERRIDE;
20 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var) OVERRIDE; 21 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var) OVERRIDE;
21 virtual void EndReceiveCallerOwned(const PP_Var& var) OVERRIDE; 22 virtual void EndReceiveCallerOwned(const PP_Var& var) OVERRIDE;
22 virtual PP_Var ReceivePassRef(const PP_Var& var) OVERRIDE; 23 virtual PP_Var ReceivePassRef(const PP_Var& var) OVERRIDE;
23 virtual PP_Var BeginSendPassRef(const PP_Var& var) OVERRIDE; 24 virtual PP_Var BeginSendPassRef(const PP_Var& var) OVERRIDE;
24 virtual void EndSendPassRef(const PP_Var& var) OVERRIDE; 25 virtual void EndSendPassRef(const PP_Var& var) OVERRIDE;
25 virtual void ReleaseObjectRef(const PP_Var& var) OVERRIDE; 26 virtual void ReleaseObjectRef(const PP_Var& var) OVERRIDE;
26 27
27 private: 28 private:
28 virtual ~BrowserPluginVarSerializationRules(); 29 virtual ~BrowserPluginVarSerializationRules();
29 30
30 DISALLOW_COPY_AND_ASSIGN(BrowserPluginVarSerializationRules); 31 DISALLOW_COPY_AND_ASSIGN(BrowserPluginVarSerializationRules);
31 }; 32 };
32 33
34 } // namespace old
33 } // namespace content 35 } // namespace content
34 36
35 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_ RULES_H_ 37 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_VAR_SERIALIZATION_ RULES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698