| OLD | NEW |
| 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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
| 15 #include "ppapi/c/pp_bool.h" | 15 #include "ppapi/c/pp_bool.h" |
| 16 #include "ppapi/c/pp_instance.h" | 16 #include "ppapi/c/pp_instance.h" |
| 17 #include "ppapi/proxy/interface_proxy.h" | 17 #include "ppapi/proxy/interface_proxy.h" |
| 18 #include "ppapi/proxy/serialized_structs.h" | 18 #include "ppapi/proxy/serialized_structs.h" |
| 19 #include "ppapi/thunk/resource_creation_api.h" | 19 #include "ppapi/thunk/resource_creation_api.h" |
| 20 | 20 |
| 21 struct PP_Size; | 21 struct PP_Size; |
| 22 | 22 |
| 23 namespace ppapi { | 23 namespace ppapi { |
| 24 | 24 |
| 25 class HostResource; | |
| 26 | |
| 27 namespace proxy { | 25 namespace proxy { |
| 28 | 26 |
| 29 struct Connection; | 27 struct Connection; |
| 30 class Dispatcher; | 28 class Dispatcher; |
| 31 | 29 |
| 32 class ResourceCreationProxy : public InterfaceProxy, | 30 class ResourceCreationProxy : public InterfaceProxy, |
| 33 public thunk::ResourceCreationAPI { | 31 public thunk::ResourceCreationAPI { |
| 34 public: | 32 public: |
| 35 explicit ResourceCreationProxy(Dispatcher* dispatcher); | 33 explicit ResourceCreationProxy(Dispatcher* dispatcher); |
| 36 ~ResourceCreationProxy() override; | 34 ~ResourceCreationProxy() override; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 189 |
| 192 private: | 190 private: |
| 193 Connection GetConnection(); | 191 Connection GetConnection(); |
| 194 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 192 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 195 }; | 193 }; |
| 196 | 194 |
| 197 } // namespace proxy | 195 } // namespace proxy |
| 198 } // namespace ppapi | 196 } // namespace ppapi |
| 199 | 197 |
| 200 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 198 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |