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

Side by Side Diff: chrome/browser/devtools/devtools_network_controller_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdint.h>
6
5 #include <string> 7 #include <string>
6 8
7 #include "base/macros.h" 9 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 13 #include "base/run_loop.h"
12 #include "chrome/browser/devtools/devtools_network_conditions.h" 14 #include "chrome/browser/devtools/devtools_network_conditions.h"
13 #include "chrome/browser/devtools/devtools_network_controller.h" 15 #include "chrome/browser/devtools/devtools_network_controller.h"
14 #include "chrome/browser/devtools/devtools_network_interceptor.h" 16 #include "chrome/browser/devtools/devtools_network_interceptor.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 317
316 rv = helper.ReadUploadData(); 318 rv = helper.ReadUploadData();
317 EXPECT_EQ(rv, net::ERR_IO_PENDING); 319 EXPECT_EQ(rv, net::ERR_IO_PENDING);
318 EXPECT_EQ(callback->run_count(), 1); 320 EXPECT_EQ(callback->run_count(), 1);
319 base::RunLoop().RunUntilIdle(); 321 base::RunLoop().RunUntilIdle();
320 EXPECT_EQ(callback->run_count(), 2); 322 EXPECT_EQ(callback->run_count(), 2);
321 EXPECT_EQ(callback->value(), static_cast<int>(arraysize(kUploadData))); 323 EXPECT_EQ(callback->value(), static_cast<int>(arraysize(kUploadData)));
322 } 324 }
323 325
324 } // namespace test 326 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_file_system_indexer.cc ('k') | chrome/browser/devtools/devtools_network_interceptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698