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

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

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 #include "content/renderer/browser_plugin/old/browser_plugin_var_serialization_r ules.h" 5 #include "content/renderer/browser_plugin/old/browser_plugin_var_serialization_r ules.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace content { 9 namespace content {
10 namespace old {
10 11
11 BrowserPluginVarSerializationRules::BrowserPluginVarSerializationRules() { 12 BrowserPluginVarSerializationRules::BrowserPluginVarSerializationRules() {
12 } 13 }
13 14
14 BrowserPluginVarSerializationRules::~BrowserPluginVarSerializationRules() { 15 BrowserPluginVarSerializationRules::~BrowserPluginVarSerializationRules() {
15 } 16 }
16 17
17 PP_Var BrowserPluginVarSerializationRules::SendCallerOwned(const PP_Var& var) { 18 PP_Var BrowserPluginVarSerializationRules::SendCallerOwned(const PP_Var& var) {
18 DCHECK(var.type != PP_VARTYPE_OBJECT); 19 DCHECK(var.type != PP_VARTYPE_OBJECT);
19 return var; 20 return var;
(...skipping 21 matching lines...) Expand all
41 } 42 }
42 43
43 void BrowserPluginVarSerializationRules::EndSendPassRef(const PP_Var& var) { 44 void BrowserPluginVarSerializationRules::EndSendPassRef(const PP_Var& var) {
44 DCHECK(var.type != PP_VARTYPE_OBJECT); 45 DCHECK(var.type != PP_VARTYPE_OBJECT);
45 } 46 }
46 47
47 void BrowserPluginVarSerializationRules::ReleaseObjectRef(const PP_Var& var) { 48 void BrowserPluginVarSerializationRules::ReleaseObjectRef(const PP_Var& var) {
48 DCHECK(var.type != PP_VARTYPE_OBJECT); 49 DCHECK(var.type != PP_VARTYPE_OBJECT);
49 } 50 }
50 51
52 } // namespace old
51 } // namespace content 53 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698