OLD | NEW |
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_io_d
ata.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/message_loop/message_loop.h" |
11 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
14 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref
s.h" | 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref
s.h" |
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ
est_options.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ
est_options.h" |
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" | 19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" |
19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" | 21 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 201 |
201 EXPECT_TRUE(drp_test_context->test_params()->proxies_for_http().size() > 0); | 202 EXPECT_TRUE(drp_test_context->test_params()->proxies_for_http().size() > 0); |
202 EXPECT_FALSE(drp_test_context->test_params() | 203 EXPECT_FALSE(drp_test_context->test_params() |
203 ->proxies_for_http() | 204 ->proxies_for_http() |
204 .front() | 205 .front() |
205 .proxy_server() | 206 .proxy_server() |
206 .is_direct()); | 207 .is_direct()); |
207 } | 208 } |
208 | 209 |
209 } // namespace data_reduction_proxy | 210 } // namespace data_reduction_proxy |
OLD | NEW |