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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_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 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_reduction_proxy/core/browser/data_reduction_proxy_conf ig_service_client.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_service_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/base64.h" 13 #include "base/base64.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/message_loop/message_loop.h"
17 #include "base/metrics/field_trial.h" 18 #include "base/metrics/field_trial.h"
18 #include "base/run_loop.h" 19 #include "base/run_loop.h"
19 #include "base/test/histogram_tester.h" 20 #include "base/test/histogram_tester.h"
20 #include "base/test/mock_entropy_provider.h" 21 #include "base/test/mock_entropy_provider.h"
21 #include "base/time/time.h" 22 #include "base/time/time.h"
22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h" 23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h"
23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator.h" 24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator.h"
24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele gate.h" 25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele gate.h"
25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta ble_config_values.h" 26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta ble_config_values.h"
26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h" 27 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h"
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 histogram_tester.ExpectTotalCount( 1303 histogram_tester.ExpectTotalCount(
1303 "DataReductionProxy.ConfigService.FetchLatency", 1); 1304 "DataReductionProxy.ConfigService.FetchLatency", 1);
1304 EXPECT_EQ(base::TimeDelta::FromSeconds(kConfigRefreshDurationSeconds), 1305 EXPECT_EQ(base::TimeDelta::FromSeconds(kConfigRefreshDurationSeconds),
1305 config_client()->GetDelay()); 1306 config_client()->GetDelay());
1306 VerifyRemoteSuccess(true); 1307 VerifyRemoteSuccess(true);
1307 } 1308 }
1308 } 1309 }
1309 #endif 1310 #endif
1310 1311
1311 } // namespace data_reduction_proxy 1312 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698