| 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_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "ipc/ipc_platform_file.h" | 9 #include "ipc/ipc_platform_file.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
| 12 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
| 13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
| 14 | 14 |
| 15 struct PPB_Flash_NetConnector; | |
| 16 | |
| 17 namespace ppapi { | 15 namespace ppapi { |
| 18 | 16 |
| 19 class HostResource; | 17 class HostResource; |
| 20 | 18 |
| 21 namespace proxy { | 19 namespace proxy { |
| 22 | 20 |
| 23 class PPB_Flash_NetConnector_Proxy : public InterfaceProxy { | 21 class PPB_Flash_NetConnector_Proxy : public InterfaceProxy { |
| 24 public: | 22 public: |
| 25 PPB_Flash_NetConnector_Proxy(Dispatcher* dispatcher); | 23 PPB_Flash_NetConnector_Proxy(Dispatcher* dispatcher); |
| 26 virtual ~PPB_Flash_NetConnector_Proxy(); | 24 virtual ~PPB_Flash_NetConnector_Proxy(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 52 void OnCompleteCallbackInHost(int32_t result, ConnectCallbackInfo* info); | 50 void OnCompleteCallbackInHost(int32_t result, ConnectCallbackInfo* info); |
| 53 | 51 |
| 54 pp::CompletionCallbackFactory<PPB_Flash_NetConnector_Proxy, | 52 pp::CompletionCallbackFactory<PPB_Flash_NetConnector_Proxy, |
| 55 ProxyNonThreadSafeRefCount> callback_factory_; | 53 ProxyNonThreadSafeRefCount> callback_factory_; |
| 56 }; | 54 }; |
| 57 | 55 |
| 58 } // namespace proxy | 56 } // namespace proxy |
| 59 } // namespace ppapi | 57 } // namespace ppapi |
| 60 | 58 |
| 61 #endif // PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ | 59 #endif // PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_ |
| OLD | NEW |