OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/renderer/browser_plugin/browser_plugin_var_serialization_rules
.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace content { | |
10 | |
11 BrowserPluginVarSerializationRules::BrowserPluginVarSerializationRules() { | |
12 } | |
13 | |
14 BrowserPluginVarSerializationRules::~BrowserPluginVarSerializationRules() { | |
15 } | |
16 | |
17 PP_Var BrowserPluginVarSerializationRules::SendCallerOwned(const PP_Var& var) { | |
18 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
19 return var; | |
20 } | |
21 | |
22 PP_Var BrowserPluginVarSerializationRules::BeginReceiveCallerOwned( | |
23 const PP_Var& var) { | |
24 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
25 return var; | |
26 } | |
27 | |
28 void BrowserPluginVarSerializationRules::EndReceiveCallerOwned( | |
29 const PP_Var& var) { | |
30 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
31 } | |
32 | |
33 PP_Var BrowserPluginVarSerializationRules::ReceivePassRef(const PP_Var& var) { | |
34 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
35 return var; | |
36 } | |
37 | |
38 PP_Var BrowserPluginVarSerializationRules::BeginSendPassRef(const PP_Var& var) { | |
39 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
40 return var; | |
41 } | |
42 | |
43 void BrowserPluginVarSerializationRules::EndSendPassRef(const PP_Var& var) { | |
44 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
45 } | |
46 | |
47 void BrowserPluginVarSerializationRules::ReleaseObjectRef(const PP_Var& var) { | |
48 DCHECK(var.type != PP_VARTYPE_OBJECT); | |
49 } | |
50 | |
51 } // namespace content | |
OLD | NEW |