| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UDP_SOCKET_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_UDP_SOCKET_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_UDP_SOCKET_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_UDP_SOCKET_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void SendSendToACKError(); | 43 void SendSendToACKError(); |
| 44 | 44 |
| 45 void OnRecvFromCompleted(int result); | 45 void OnRecvFromCompleted(int result); |
| 46 void OnSendToCompleted(int result); | 46 void OnSendToCompleted(int result); |
| 47 | 47 |
| 48 PepperMessageFilter* manager_; | 48 PepperMessageFilter* manager_; |
| 49 int32 routing_id_; | 49 int32 routing_id_; |
| 50 uint32 plugin_dispatcher_id_; | 50 uint32 plugin_dispatcher_id_; |
| 51 uint32 socket_id_; | 51 uint32 socket_id_; |
| 52 | 52 |
| 53 net::OldCompletionCallbackImpl<PepperUDPSocket> recvfrom_callback_; | |
| 54 net::OldCompletionCallbackImpl<PepperUDPSocket> sendto_callback_; | |
| 55 | |
| 56 scoped_ptr<net::UDPServerSocket> socket_; | 53 scoped_ptr<net::UDPServerSocket> socket_; |
| 57 | 54 |
| 58 scoped_refptr<net::IOBuffer> recvfrom_buffer_; | 55 scoped_refptr<net::IOBuffer> recvfrom_buffer_; |
| 59 scoped_refptr<net::IOBuffer> sendto_buffer_; | 56 scoped_refptr<net::IOBuffer> sendto_buffer_; |
| 60 | 57 |
| 61 net::IPEndPoint recvfrom_address_; | 58 net::IPEndPoint recvfrom_address_; |
| 62 | 59 |
| 63 DISALLOW_COPY_AND_ASSIGN(PepperUDPSocket); | 60 DISALLOW_COPY_AND_ASSIGN(PepperUDPSocket); |
| 64 }; | 61 }; |
| 65 | 62 |
| 66 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_UDP_SOCKET_H_ | 63 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_UDP_SOCKET_H_ |
| OLD | NEW |