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 #ifndef PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
6 #define PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/task.h" | 10 #include "base/task.h" |
11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
12 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
13 | 13 |
14 struct PPB_Var_Deprecated; | 14 struct PPB_Var_Deprecated; |
15 | 15 |
16 namespace ppapi { | 16 namespace ppapi { |
17 namespace proxy { | 17 namespace proxy { |
18 | 18 |
19 class SerializedVar; | 19 class SerializedVar; |
20 class SerializedVarArray; | |
21 class SerializedVarReceiveInput; | 20 class SerializedVarReceiveInput; |
22 class SerializedVarVectorOutParam; | 21 class SerializedVarVectorOutParam; |
23 class SerializedVarVectorReceiveInput; | 22 class SerializedVarVectorReceiveInput; |
24 class SerializedVarOutParam; | 23 class SerializedVarOutParam; |
25 class SerializedVarReturnValue; | 24 class SerializedVarReturnValue; |
26 | 25 |
27 class PPB_Var_Deprecated_Proxy : public InterfaceProxy { | 26 class PPB_Var_Deprecated_Proxy : public InterfaceProxy { |
28 public: | 27 public: |
29 PPB_Var_Deprecated_Proxy(Dispatcher* dispatcher); | 28 explicit PPB_Var_Deprecated_Proxy(Dispatcher* dispatcher); |
30 virtual ~PPB_Var_Deprecated_Proxy(); | 29 virtual ~PPB_Var_Deprecated_Proxy(); |
31 | 30 |
32 static const Info* GetInfo(); | 31 static const Info* GetInfo(); |
33 | 32 |
34 // InterfaceProxy implementation. | 33 // InterfaceProxy implementation. |
35 virtual bool OnMessageReceived(const IPC::Message& msg); | 34 virtual bool OnMessageReceived(const IPC::Message& msg); |
36 | 35 |
37 private: | 36 private: |
38 // Message handlers. | 37 // Message handlers. |
39 void OnMsgAddRefObject(int64 object_id, int* unused); | 38 void OnMsgAddRefObject(int64 object_id, int* unused); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 base::WeakPtrFactory<PPB_Var_Deprecated_Proxy> task_factory_; | 92 base::WeakPtrFactory<PPB_Var_Deprecated_Proxy> task_factory_; |
94 | 93 |
95 const PPB_Var_Deprecated* ppb_var_impl_; | 94 const PPB_Var_Deprecated* ppb_var_impl_; |
96 | 95 |
97 DISALLOW_COPY_AND_ASSIGN(PPB_Var_Deprecated_Proxy); | 96 DISALLOW_COPY_AND_ASSIGN(PPB_Var_Deprecated_Proxy); |
98 }; | 97 }; |
99 | 98 |
100 } // namespace proxy | 99 } // namespace proxy |
101 } // namespace ppapi | 100 } // namespace ppapi |
102 | 101 |
103 #endif // PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 102 #endif // PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
OLD | NEW |