Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: ppapi/tests/test_net_address_private_untrusted.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/tests/test_net_address_private.cc ('k') | ppapi/tests/test_network_monitor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ppapi/tests/test_net_address_private.cc ('k') | ppapi/tests/test_network_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698