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

Side by Side Diff: ppapi/tests/test_host_resolver_private.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 months 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
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 #include "ppapi/tests/test_host_resolver_private.h" 5 #include "ppapi/tests/test_host_resolver_private.h"
6 6
7 #include <stddef.h>
8
7 #include "ppapi/c/private/ppb_net_address_private.h" 9 #include "ppapi/c/private/ppb_net_address_private.h"
8 #include "ppapi/cpp/module_impl.h" 10 #include "ppapi/cpp/module_impl.h"
9 #include "ppapi/cpp/private/host_resolver_private.h" 11 #include "ppapi/cpp/private/host_resolver_private.h"
10 #include "ppapi/cpp/private/tcp_socket_private.h" 12 #include "ppapi/cpp/private/tcp_socket_private.h"
11 #include "ppapi/cpp/var.h" 13 #include "ppapi/cpp/var.h"
12 #include "ppapi/tests/test_utils.h" 14 #include "ppapi/tests/test_utils.h"
13 #include "ppapi/tests/testing_instance.h" 15 #include "ppapi/tests/testing_instance.h"
14 16
15 REGISTER_TEST_CASE(HostResolverPrivate); 17 REGISTER_TEST_CASE(HostResolverPrivate);
16 18
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 hint.flags = PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME; 181 hint.flags = PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME;
180 return ParametrizedTestResolve(hint); 182 return ParametrizedTestResolve(hint);
181 } 183 }
182 184
183 std::string TestHostResolverPrivate::TestResolveIPv4() { 185 std::string TestHostResolverPrivate::TestResolveIPv4() {
184 PP_HostResolver_Private_Hint hint; 186 PP_HostResolver_Private_Hint hint;
185 hint.family = PP_NETADDRESSFAMILY_PRIVATE_IPV4; 187 hint.family = PP_NETADDRESSFAMILY_PRIVATE_IPV4;
186 hint.flags = PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME; 188 hint.flags = PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME;
187 return ParametrizedTestResolve(hint); 189 return ParametrizedTestResolve(hint);
188 } 190 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_host_resolver_private.h ('k') | ppapi/tests/test_host_resolver_private_disallowed.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698