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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
261 virtual void TCPSocketSSLHandshake( | 261 virtual void TCPSocketSSLHandshake( |
262 uint32 socket_id, | 262 uint32 socket_id, |
263 const std::string& server_name, | 263 const std::string& server_name, |
264 uint16_t server_port, | 264 uint16_t server_port, |
265 const std::vector<std::vector<char> >& trusted_certs, | 265 const std::vector<std::vector<char> >& trusted_certs, |
266 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; | 266 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; |
267 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; | 267 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; |
268 virtual void TCPSocketWrite(uint32 socket_id, | 268 virtual void TCPSocketWrite(uint32 socket_id, |
269 const std::string& buffer) OVERRIDE; | 269 const std::string& buffer) OVERRIDE; |
270 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; | 270 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; |
271 virtual void TCPSocketSetBoolFeature(uint32 socket_id, int32_t name, | |
yzshen1
2013/02/08 21:51:11
From chromium style guide:
"For function declarati
Wez
2013/02/10 04:47:02
Done.
| |
272 bool value) OVERRIDE; | |
271 virtual void RegisterTCPSocket( | 273 virtual void RegisterTCPSocket( |
272 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, | 274 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, |
273 uint32 socket_id) OVERRIDE; | 275 uint32 socket_id) OVERRIDE; |
274 virtual void TCPServerSocketListen( | 276 virtual void TCPServerSocketListen( |
275 PP_Resource socket_resource, | 277 PP_Resource socket_resource, |
276 const PP_NetAddress_Private& addr, | 278 const PP_NetAddress_Private& addr, |
277 int32_t backlog) OVERRIDE; | 279 int32_t backlog) OVERRIDE; |
278 virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE; | 280 virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE; |
279 virtual void TCPServerSocketStopListening( | 281 virtual void TCPServerSocketStopListening( |
280 PP_Resource socket_resource, | 282 PP_Resource socket_resource, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
338 bool succeeded, | 340 bool succeeded, |
339 const ppapi::PPB_X509Certificate_Fields& certificate_fields); | 341 const ppapi::PPB_X509Certificate_Fields& certificate_fields); |
340 void OnTCPSocketReadACK(uint32 plugin_dispatcher_id, | 342 void OnTCPSocketReadACK(uint32 plugin_dispatcher_id, |
341 uint32 socket_id, | 343 uint32 socket_id, |
342 bool succeeded, | 344 bool succeeded, |
343 const std::string& data); | 345 const std::string& data); |
344 void OnTCPSocketWriteACK(uint32 plugin_dispatcher_id, | 346 void OnTCPSocketWriteACK(uint32 plugin_dispatcher_id, |
345 uint32 socket_id, | 347 uint32 socket_id, |
346 bool succeeded, | 348 bool succeeded, |
347 int32_t bytes_written); | 349 int32_t bytes_written); |
350 void OnTCPSocketSetBoolFeatureACK(uint32 plugin_dispatcher_id, | |
351 uint32 socket_id, | |
352 bool succeeded); | |
348 void OnTCPServerSocketListenACK(uint32 plugin_dispatcher_id, | 353 void OnTCPServerSocketListenACK(uint32 plugin_dispatcher_id, |
349 PP_Resource socket_resource, | 354 PP_Resource socket_resource, |
350 uint32 socket_id, | 355 uint32 socket_id, |
351 int32_t status); | 356 int32_t status); |
352 void OnTCPServerSocketAcceptACK(uint32 plugin_dispatcher_id, | 357 void OnTCPServerSocketAcceptACK(uint32 plugin_dispatcher_id, |
353 uint32 socket_id, | 358 uint32 socket_id, |
354 uint32 accepted_socket_id, | 359 uint32 accepted_socket_id, |
355 const PP_NetAddress_Private& local_addr, | 360 const PP_NetAddress_Private& local_addr, |
356 const PP_NetAddress_Private& remote_addr); | 361 const PP_NetAddress_Private& remote_addr); |
357 void OnHostResolverResolveACK( | 362 void OnHostResolverResolveACK( |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
441 | 446 |
442 scoped_ptr<PepperDeviceEnumerationEventHandler> | 447 scoped_ptr<PepperDeviceEnumerationEventHandler> |
443 device_enumeration_event_handler_; | 448 device_enumeration_event_handler_; |
444 | 449 |
445 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 450 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
446 }; | 451 }; |
447 | 452 |
448 } // namespace content | 453 } // namespace content |
449 | 454 |
450 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 455 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |