OLD | NEW |
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 #include "ppapi/shared_impl/ppb_var_impl.h" | 5 #include "ppapi/shared_impl/ppb_var_shared.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "ppapi/c/ppb_var.h" | 9 #include "ppapi/c/ppb_var.h" |
10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
11 #include "ppapi/shared_impl/ppapi_globals.h" | 11 #include "ppapi/shared_impl/ppapi_globals.h" |
12 #include "ppapi/shared_impl/proxy_lock.h" | 12 #include "ppapi/shared_impl/proxy_lock.h" |
13 #include "ppapi/shared_impl/var.h" | 13 #include "ppapi/shared_impl/var.h" |
14 #include "ppapi/shared_impl/var_tracker.h" | 14 #include "ppapi/shared_impl/var_tracker.h" |
15 | 15 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 const PPB_Var_1_0 var_interface1_0 = { | 59 const PPB_Var_1_0 var_interface1_0 = { |
60 &AddRefVar, | 60 &AddRefVar, |
61 &ReleaseVar, | 61 &ReleaseVar, |
62 &VarFromUtf8_1_0, | 62 &VarFromUtf8_1_0, |
63 &VarToUtf8 | 63 &VarToUtf8 |
64 }; | 64 }; |
65 } // namespace | 65 } // namespace |
66 | 66 |
67 // static | 67 // static |
68 const PPB_Var* PPB_Var_Impl::GetVarInterface() { | 68 const PPB_Var* PPB_Var_Shared::GetVarInterface() { |
69 return &var_interface; | 69 return &var_interface; |
70 } | 70 } |
71 | 71 |
72 // static | 72 // static |
73 const PPB_Var_1_0* PPB_Var_Impl::GetVarInterface1_0() { | 73 const PPB_Var_1_0* PPB_Var_Shared::GetVarInterface1_0() { |
74 return &var_interface1_0; | 74 return &var_interface1_0; |
75 } | 75 } |
76 | 76 |
77 } // namespace ppapi | 77 } // namespace ppapi |
78 | 78 |
OLD | NEW |