| 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 PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ | 5 #ifndef PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ |
| 6 #define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ | 6 #define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/cpp/private/tcp_socket_private.h" | 10 #include "ppapi/cpp/private/tcp_socket_private.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 private: | 26 private: |
| 27 int32_t Connect(pp::TCPSocketPrivate* socket, | 27 int32_t Connect(pp::TCPSocketPrivate* socket, |
| 28 const std::string& host, | 28 const std::string& host, |
| 29 uint16_t port); | 29 uint16_t port); |
| 30 | 30 |
| 31 std::string TestAreEqual(); | 31 std::string TestAreEqual(); |
| 32 std::string TestAreHostsEqual(); | 32 std::string TestAreHostsEqual(); |
| 33 std::string TestDescribe(); | 33 std::string TestDescribe(); |
| 34 std::string TestReplacePort(); | 34 std::string TestReplacePort(); |
| 35 std::string TestGetAnyAddress(); | 35 std::string TestGetAnyAddress(); |
| 36 std::string TestGetFamily(); |
| 37 std::string TestGetPort(); |
| 38 std::string TestGetAddress(); |
| 36 | 39 |
| 37 std::string host_; | 40 std::string host_; |
| 38 uint16_t port_; | 41 uint16_t port_; |
| 39 }; | 42 }; |
| 40 | 43 |
| 41 #endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ | 44 #endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ |
| OLD | NEW |