| 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 <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/cpp/private/tcp_socket_private.h" | 12 #include "ppapi/cpp/private/tcp_socket_private.h" |
| 11 #include "ppapi/tests/test_case.h" | 13 #include "ppapi/tests/test_case.h" |
| 12 | 14 |
| 13 // TestNetAddressPrivate doesn't compile via NaCl toolchain, because | 15 // TestNetAddressPrivate doesn't compile via NaCl toolchain, because |
| 14 // these tests depend on network API which is not available in | 16 // these tests depend on network API which is not available in |
| 15 // NaCl. TestNetAddressPrivateUntrusted is written only for check that | 17 // NaCl. TestNetAddressPrivateUntrusted is written only for check that |
| 16 // API is correctly exposed to NaCl, not for checking correctness of | 18 // API is correctly exposed to NaCl, not for checking correctness of |
| 17 // API --- this is a job of TestNetAddressPrivate. | 19 // API --- this is a job of TestNetAddressPrivate. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 std::string TestGetAnyAddress(); | 37 std::string TestGetAnyAddress(); |
| 36 std::string TestGetFamily(); | 38 std::string TestGetFamily(); |
| 37 std::string TestGetPort(); | 39 std::string TestGetPort(); |
| 38 std::string TestGetAddress(); | 40 std::string TestGetAddress(); |
| 39 | 41 |
| 40 std::string host_; | 42 std::string host_; |
| 41 uint16_t port_; | 43 uint16_t port_; |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 #endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ | 46 #endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_ |
| OLD | NEW |