OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PRIVATE_H_ | 5 #ifndef PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_ |
6 #define PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_ | 6 #define PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/c/pp_stdint.h" | 10 #include "ppapi/c/pp_stdint.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 std::string BindUDPSocketFailure(pp::UDPSocketPrivate* socket, | 29 std::string BindUDPSocketFailure(pp::UDPSocketPrivate* socket, |
30 PP_NetAddress_Private *address); | 30 PP_NetAddress_Private *address); |
31 std::string ReadSocket(pp::UDPSocketPrivate* socket, | 31 std::string ReadSocket(pp::UDPSocketPrivate* socket, |
32 PP_NetAddress_Private* address, | 32 PP_NetAddress_Private* address, |
33 size_t size, | 33 size_t size, |
34 std::string* message); | 34 std::string* message); |
35 std::string PassMessage(pp::UDPSocketPrivate* target, | 35 std::string PassMessage(pp::UDPSocketPrivate* target, |
36 pp::UDPSocketPrivate* source, | 36 pp::UDPSocketPrivate* source, |
37 PP_NetAddress_Private* address, | 37 PP_NetAddress_Private* address, |
38 const std::string& message); | 38 const std::string& message); |
| 39 std::string SetMulticastOptions(pp::UDPSocketPrivate* socket); |
39 | 40 |
40 std::string TestConnect(); | 41 std::string TestConnect(); |
41 std::string TestConnectFailure(); | 42 std::string TestConnectFailure(); |
42 std::string TestBroadcast(); | 43 std::string TestBroadcast(); |
43 std::string TestSetSocketFeatureErrors(); | 44 std::string TestSetSocketFeatureErrors(); |
| 45 std::string TestMulticast(); |
44 | 46 |
45 std::string host_; | 47 std::string host_; |
46 uint16_t port_; | 48 uint16_t port_; |
47 }; | 49 }; |
48 | 50 |
49 #endif // PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_ | 51 #endif // PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_ |
OLD | NEW |