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

Side by Side Diff: components/data_usage/core/data_use_aggregator_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/data_usage/core/data_use_aggregator.h" 5 #include "components/data_usage/core/data_use_aggregator.h"
6 6
7 #include <stddef.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
9 #include <map> 10 #include <map>
10 #include <string> 11 #include <string>
11 #include <vector> 12 #include <vector>
12 13
13 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
16 #include "base/time/time.h" 18 #include "base/time/time.h"
17 #include "components/data_usage/core/data_use.h" 19 #include "components/data_usage/core/data_use.h"
18 #include "components/data_usage/core/data_use_amortizer.h" 20 #include "components/data_usage/core/data_use_amortizer.h"
19 #include "components/data_usage/core/data_use_annotator.h" 21 #include "components/data_usage/core/data_use_annotator.h"
20 #include "net/base/load_timing_info.h" 22 #include "net/base/load_timing_info.h"
21 #include "net/base/network_change_notifier.h" 23 #include "net/base/network_change_notifier.h"
22 #include "net/base/network_delegate_impl.h" 24 #include "net/base/network_delegate_impl.h"
23 #include "net/socket/socket_test_util.h" 25 #include "net/socket/socket_test_util.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 // Off the record data use should not be reported to observers. 422 // Off the record data use should not be reported to observers.
421 data_use_aggregator()->ReportOffTheRecordDataUse(1000, 1000); 423 data_use_aggregator()->ReportOffTheRecordDataUse(1000, 1000);
422 base::MessageLoop::current()->RunUntilIdle(); 424 base::MessageLoop::current()->RunUntilIdle();
423 EXPECT_EQ(static_cast<size_t>(0), 425 EXPECT_EQ(static_cast<size_t>(0),
424 test_observer()->observed_data_use().size()); 426 test_observer()->observed_data_use().size());
425 } 427 }
426 428
427 } // namespace 429 } // namespace
428 430
429 } // namespace data_usage 431 } // namespace data_usage
OLDNEW
« no previous file with comments | « components/data_usage/core/data_use_aggregator.cc ('k') | components/data_use_measurement/content/data_use_measurement.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698