| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 int32_t bytes_written); | 98 int32_t bytes_written); |
| 99 | 99 |
| 100 void SendBindError(const ppapi::host::ReplyMessageContext& context, | 100 void SendBindError(const ppapi::host::ReplyMessageContext& context, |
| 101 int32_t result); | 101 int32_t result); |
| 102 void SendRecvFromError(int32_t result); | 102 void SendRecvFromError(int32_t result); |
| 103 void SendSendToError(const ppapi::host::ReplyMessageContext& context, | 103 void SendSendToError(const ppapi::host::ReplyMessageContext& context, |
| 104 int32_t result); | 104 int32_t result); |
| 105 | 105 |
| 106 bool allow_address_reuse_; | 106 bool allow_address_reuse_; |
| 107 bool allow_broadcast_; | 107 bool allow_broadcast_; |
| 108 bool multicast_loop_; |
| 109 uint32 multicast_interface_; |
| 110 int multicast_time_to_live_; |
| 108 | 111 |
| 109 scoped_ptr<net::UDPServerSocket> socket_; | 112 scoped_ptr<net::UDPServerSocket> socket_; |
| 110 bool closed_; | 113 bool closed_; |
| 111 | 114 |
| 112 scoped_refptr<net::IOBuffer> recvfrom_buffer_; | 115 scoped_refptr<net::IOBuffer> recvfrom_buffer_; |
| 113 scoped_refptr<net::IOBufferWithSize> sendto_buffer_; | 116 scoped_refptr<net::IOBufferWithSize> sendto_buffer_; |
| 114 | 117 |
| 115 net::IPEndPoint recvfrom_address_; | 118 net::IPEndPoint recvfrom_address_; |
| 116 | 119 |
| 117 size_t remaining_recv_slots_; | 120 size_t remaining_recv_slots_; |
| 118 | 121 |
| 119 bool external_plugin_; | 122 bool external_plugin_; |
| 120 bool private_api_; | 123 bool private_api_; |
| 121 | 124 |
| 122 int render_process_id_; | 125 int render_process_id_; |
| 123 int render_frame_id_; | 126 int render_frame_id_; |
| 124 | 127 |
| 125 DISALLOW_COPY_AND_ASSIGN(PepperUDPSocketMessageFilter); | 128 DISALLOW_COPY_AND_ASSIGN(PepperUDPSocketMessageFilter); |
| 126 }; | 129 }; |
| 127 | 130 |
| 128 } // namespace content | 131 } // namespace content |
| 129 | 132 |
| 130 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER
_H_ | 133 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UDP_SOCKET_MESSAGE_FILTER
_H_ |
| OLD | NEW |