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 PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 private: | 36 private: |
37 // Browser->plugin message handlers. | 37 // Browser->plugin message handlers. |
38 void OnMsgBindACK(uint32 plugin_dispatcher_id, | 38 void OnMsgBindACK(uint32 plugin_dispatcher_id, |
39 uint32 socket_id, | 39 uint32 socket_id, |
40 bool succeeded); | 40 bool succeeded); |
41 void OnMsgRecvFromACK(uint32 plugin_dispatcher_id, | 41 void OnMsgRecvFromACK(uint32 plugin_dispatcher_id, |
42 uint32 socket_id, | 42 uint32 socket_id, |
43 bool succeeded, | 43 bool succeeded, |
44 const std::string& data, | 44 const std::string& data, |
45 const PP_Flash_NetAddress& addr); | 45 const PP_NetAddress_Private& addr); |
46 void OnMsgSendToACK(uint32 plugin_dispatcher_id, | 46 void OnMsgSendToACK(uint32 plugin_dispatcher_id, |
47 uint32 socket_id, | 47 uint32 socket_id, |
48 bool succeeded, | 48 bool succeeded, |
49 int32_t bytes_written); | 49 int32_t bytes_written); |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_UDPSocket_Proxy); | 51 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_UDPSocket_Proxy); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace proxy | 54 } // namespace proxy |
55 } // namespace ppapi | 55 } // namespace ppapi |
56 | 56 |
57 #endif // PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ | 57 #endif // PPAPI_PROXY_PPB_FLASH_UDP_SOCKET_PROXY_H_ |
58 | 58 |
OLD | NEW |