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

Side by Side Diff: ppapi/tests/test_network_monitor.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 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
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_network_monitor.h" 5 #include "ppapi/tests/test_network_monitor.h"
6 6
7 #include <stddef.h>
7 #include <string.h> 8 #include <string.h>
8 9
9 #include "ppapi/cpp/completion_callback.h" 10 #include "ppapi/cpp/completion_callback.h"
10 #include "ppapi/cpp/instance_handle.h" 11 #include "ppapi/cpp/instance_handle.h"
11 #include "ppapi/cpp/module.h" 12 #include "ppapi/cpp/module.h"
12 #include "ppapi/cpp/net_address.h" 13 #include "ppapi/cpp/net_address.h"
13 #include "ppapi/cpp/network_list.h" 14 #include "ppapi/cpp/network_list.h"
14 #include "ppapi/cpp/network_monitor.h" 15 #include "ppapi/cpp/network_monitor.h"
15 #include "ppapi/tests/test_utils.h" 16 #include "ppapi/tests/test_utils.h"
16 #include "ppapi/tests/testing_instance.h" 17 #include "ppapi/tests/testing_instance.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 instance_->pp_instance()); 177 instance_->pp_instance());
177 test_callback.SetDelegate(&deletion_delegate); 178 test_callback.SetDelegate(&deletion_delegate);
178 test_callback.WaitForResult( 179 test_callback.WaitForResult(
179 network_monitor->UpdateNetworkList(test_callback.GetCallback())); 180 network_monitor->UpdateNetworkList(test_callback.GetCallback()));
180 181
181 ASSERT_EQ(PP_OK, test_callback.result()); 182 ASSERT_EQ(PP_OK, test_callback.result());
182 ASSERT_SUBTEST_SUCCESS(VerifyNetworkList(test_callback.output())); 183 ASSERT_SUBTEST_SUCCESS(VerifyNetworkList(test_callback.output()));
183 184
184 PASS(); 185 PASS();
185 } 186 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_net_address_private_untrusted.h ('k') | ppapi/tests/test_output_protection_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698