| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const int32_t* attrib_list) OVERRIDE; | 115 const int32_t* attrib_list) OVERRIDE; |
| 116 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 116 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
| 117 virtual PP_Resource CreateNetworkMonitor( | 117 virtual PP_Resource CreateNetworkMonitor( |
| 118 PP_Instance instance, | 118 PP_Instance instance, |
| 119 PPB_NetworkMonitor_Callback callback, | 119 PPB_NetworkMonitor_Callback callback, |
| 120 void* user_data) OVERRIDE; | 120 void* user_data) OVERRIDE; |
| 121 virtual PP_Resource CreateTCPServerSocketPrivate( | 121 virtual PP_Resource CreateTCPServerSocketPrivate( |
| 122 PP_Instance instance) OVERRIDE; | 122 PP_Instance instance) OVERRIDE; |
| 123 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 123 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 124 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 124 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 125 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
| 125 virtual PP_Resource CreateX509CertificatePrivate( | 126 virtual PP_Resource CreateX509CertificatePrivate( |
| 126 PP_Instance instance) OVERRIDE; | 127 PP_Instance instance) OVERRIDE; |
| 127 #if !defined(OS_NACL) | 128 #if !defined(OS_NACL) |
| 128 virtual PP_Resource CreateAudioInput0_1( | 129 virtual PP_Resource CreateAudioInput0_1( |
| 129 PP_Instance instance, | 130 PP_Instance instance, |
| 130 PP_Resource config_id, | 131 PP_Resource config_id, |
| 131 PPB_AudioInput_Callback audio_input_callback, | 132 PPB_AudioInput_Callback audio_input_callback, |
| 132 void* user_data) OVERRIDE; | 133 void* user_data) OVERRIDE; |
| 133 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 134 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
| 134 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 135 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 150 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 151 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 151 PP_Bool vertical) OVERRIDE; | 152 PP_Bool vertical) OVERRIDE; |
| 152 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 153 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
| 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 154 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
| 154 virtual PP_Resource CreateVideoDecoder( | 155 virtual PP_Resource CreateVideoDecoder( |
| 155 PP_Instance instance, | 156 PP_Instance instance, |
| 156 PP_Resource context3d_id, | 157 PP_Resource context3d_id, |
| 157 PP_VideoDecoder_Profile profile) OVERRIDE; | 158 PP_VideoDecoder_Profile profile) OVERRIDE; |
| 158 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 159 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 159 PP_VideoLayerMode_Dev mode) OVERRIDE; | 160 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | |
| 161 #endif // !defined(OS_NACL) | 161 #endif // !defined(OS_NACL) |
| 162 | 162 |
| 163 virtual bool Send(IPC::Message* msg) OVERRIDE; | 163 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 164 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 164 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 165 | 165 |
| 166 private: | 166 private: |
| 167 Connection GetConnection(); | 167 Connection GetConnection(); |
| 168 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 168 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace proxy | 171 } // namespace proxy |
| 172 } // namespace ppapi | 172 } // namespace ppapi |
| 173 | 173 |
| 174 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 174 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |