| 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 PPAPI_TESTS_TEST_UDP_SOCKET_H_ | 5 #ifndef PPAPI_TESTS_TEST_UDP_SOCKET_H_ |
| 6 #define PPAPI_TESTS_TEST_UDP_SOCKET_H_ | 6 #define PPAPI_TESTS_TEST_UDP_SOCKET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 11 #include "ppapi/c/ppb_udp_socket.h" | 13 #include "ppapi/c/ppb_udp_socket.h" |
| 12 #include "ppapi/cpp/net_address.h" | 14 #include "ppapi/cpp/net_address.h" |
| 13 #include "ppapi/tests/test_case.h" | 15 #include "ppapi/tests/test_case.h" |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 typedef int32_t (*UDPSocketSetOption)(PP_Resource udp_socket, | 18 typedef int32_t (*UDPSocketSetOption)(PP_Resource udp_socket, |
| 17 PP_UDPSocket_Option name, | 19 PP_UDPSocket_Option name, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 std::string TestParallelSend(); | 63 std::string TestParallelSend(); |
| 62 std::string TestMulticast(); | 64 std::string TestMulticast(); |
| 63 | 65 |
| 64 pp::NetAddress address_; | 66 pp::NetAddress address_; |
| 65 | 67 |
| 66 const PPB_UDPSocket_1_0* socket_interface_1_0_; | 68 const PPB_UDPSocket_1_0* socket_interface_1_0_; |
| 67 const PPB_UDPSocket_1_1* socket_interface_1_1_; | 69 const PPB_UDPSocket_1_1* socket_interface_1_1_; |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 #endif // PPAPI_TESTS_TEST_UDP_SOCKET_H_ | 72 #endif // PPAPI_TESTS_TEST_UDP_SOCKET_H_ |
| OLD | NEW |