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

Side by Side Diff: components/data_usage/android/traffic_stats_amortizer_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/android/traffic_stats_amortizer.h" 5 #include "components/data_usage/android/traffic_stats_amortizer.h"
6 6
7 #include <stddef.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
9 #include <string> 10 #include <string>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
15 #include "base/metrics/histogram_base.h" 16 #include "base/metrics/histogram_base.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 1000 * kExpectedBufSize, 1); 669 1000 * kExpectedBufSize, 1);
669 histogram_tester.ExpectUniqueSample(kAmortizationDelayHistogram, 0, 1); 670 histogram_tester.ExpectUniqueSample(kAmortizationDelayHistogram, 0, 1);
670 histogram_tester.ExpectUniqueSample(kBufferSizeOnFlushHistogram, 671 histogram_tester.ExpectUniqueSample(kBufferSizeOnFlushHistogram,
671 kExpectedBufSize, 1); 672 kExpectedBufSize, 1);
672 } 673 }
673 674
674 } // namespace 675 } // namespace
675 676
676 } // namespace android 677 } // namespace android
677 } // namespace data_usage 678 } // namespace data_usage
OLDNEW
« no previous file with comments | « components/data_usage/android/traffic_stats_amortizer.h ('k') | components/data_usage/core/data_use_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698