| 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 PAPPI_TESTS_TEST_TCP_SOCKET_H_ | 5 #ifndef PAPPI_TESTS_TEST_TCP_SOCKET_H_ |
| 6 #define PAPPI_TESTS_TEST_TCP_SOCKET_H_ | 6 #define PAPPI_TESTS_TEST_TCP_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_tcp_socket.h" | 13 #include "ppapi/c/ppb_tcp_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 pp { | 17 namespace pp { |
| 16 class TCPSocket; | 18 class TCPSocket; |
| 17 } | 19 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 | 45 |
| 44 std::string GetAddressToBind(pp::NetAddress* address); | 46 std::string GetAddressToBind(pp::NetAddress* address); |
| 45 std::string StartListen(pp::TCPSocket* socket, int32_t backlog); | 47 std::string StartListen(pp::TCPSocket* socket, int32_t backlog); |
| 46 | 48 |
| 47 pp::NetAddress addr_; | 49 pp::NetAddress addr_; |
| 48 | 50 |
| 49 const PPB_TCPSocket_1_0* socket_interface_1_0_; | 51 const PPB_TCPSocket_1_0* socket_interface_1_0_; |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_H_ | 54 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_H_ |
| OLD | NEW |