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 13 matching lines...) Expand all Loading... |
148 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 149 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
149 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; | 150 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; |
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 CreateWebSocket(PP_Instance instance) OVERRIDE; | |
159 #endif // !defined(OS_NACL) | 159 #endif // !defined(OS_NACL) |
160 | 160 |
161 virtual bool Send(IPC::Message* msg) OVERRIDE; | 161 virtual bool Send(IPC::Message* msg) OVERRIDE; |
162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
163 | 163 |
164 private: | 164 private: |
165 Connection GetConnection(); | 165 Connection GetConnection(); |
166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
167 }; | 167 }; |
168 | 168 |
169 } // namespace proxy | 169 } // namespace proxy |
170 } // namespace ppapi | 170 } // namespace ppapi |
171 | 171 |
172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |