Chromium Code Reviews| Index: content/browser/renderer_host/pepper_message_filter.h |
| diff --git a/content/browser/renderer_host/pepper_message_filter.h b/content/browser/renderer_host/pepper_message_filter.h |
| index cccff7cf144715b4950d8e4572e3ccaf4a43a49f..b914ac84ad58d69ba722d35d0c00e4a69dc75c1c 100644 |
| --- a/content/browser/renderer_host/pepper_message_filter.h |
| +++ b/content/browser/renderer_host/pepper_message_filter.h |
| @@ -17,6 +17,7 @@ |
| #include "content/public/browser/browser_message_filter.h" |
| #include "net/base/ssl_config_service.h" |
| #include "net/socket/stream_socket.h" |
| +#include "ppapi/c/pp_resource.h" |
| #include "ppapi/c/pp_stdint.h" |
| class ListValue; |
| @@ -148,10 +149,11 @@ class PepperMessageFilter : public content::BrowserMessageFilter { |
| void OnTCPServerListen(int32 routing_id, |
| uint32 plugin_dispatcher_id, |
| - uint32 temp_socket_id, |
| + PP_Resource socket_resource, |
| const PP_NetAddress_Private& addr, |
| int32_t backlog); |
| - void OnTCPServerAccept(uint32 real_socket_id); |
| + void OnTCPServerAccept(int32 tcp_client_sockets_routing_id, |
|
yzshen1
2012/03/13 17:46:32
nit: sockets->socket
ygorshenin1
2012/03/14 11:36:18
Done.
|
| + uint32 real_socket_id); |
|
yzshen1
2012/03/13 17:46:32
I'd change this to, say, server_socket_id to be mo
ygorshenin1
2012/03/14 11:36:18
Done.
|
| void DoTCPConnect(bool allowed, |
| int32 routing_id, |
| @@ -169,7 +171,7 @@ class PepperMessageFilter : public content::BrowserMessageFilter { |
| void DoTCPServerListen(bool allowed, |
| int32 routing_id, |
| uint32 plugin_dispatcher_id, |
| - uint32 temp_socket_id, |
| + PP_Resource socket_resource, |
| const PP_NetAddress_Private& addr, |
| int32_t backlog); |