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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/md5.h" 14 #include "base/md5.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/metrics/field_trial.h" 16 #include "base/metrics/field_trial.h"
16 #include "base/metrics/histogram_samples.h" 17 #include "base/metrics/histogram_samples.h"
17 #include "base/test/histogram_tester.h" 18 #include "base/test/histogram_tester.h"
18 #include "base/test/mock_entropy_provider.h" 19 #include "base/test/mock_entropy_provider.h"
19 #include "base/test/simple_test_clock.h" 20 #include "base/test/simple_test_clock.h"
20 #include "base/time/clock.h" 21 #include "base/time/clock.h"
21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h" 22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h"
22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h" 23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h"
23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h" 24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h"
24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings_test_utils.h" 25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings_test_utils.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 ASSERT_EQ(kNumDaysInHistory, result.size()); 763 ASSERT_EQ(kNumDaysInHistory, result.size());
763 764
764 for (size_t i = 0; i < kNumDaysInHistory; ++i) { 765 for (size_t i = 0; i < kNumDaysInHistory; ++i) {
765 long expected_length = 766 long expected_length =
766 static_cast<long>((kNumDaysInHistory - 1 - i) * 2); 767 static_cast<long>((kNumDaysInHistory - 1 - i) * 2);
767 ASSERT_EQ(expected_length, result[i]); 768 ASSERT_EQ(expected_length, result[i]);
768 } 769 }
769 } 770 }
770 771
771 } // namespace data_reduction_proxy 772 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698