OLD | NEW |
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_metr
ics.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
ics.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/message_loop/message_loop.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" | 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" |
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" | 15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" |
15 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" | 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" |
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_serve
r.h" | 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_serve
r.h" |
17 #include "net/base/load_flags.h" | 18 #include "net/base/load_flags.h" |
18 #include "net/log/net_log_source_type.h" | 19 #include "net/log/net_log_source_type.h" |
19 #include "net/log/net_log_with_source.h" | 20 #include "net/log/net_log_with_source.h" |
20 #include "net/proxy/proxy_server.h" | 21 #include "net/proxy/proxy_server.h" |
21 #include "net/proxy/proxy_service.h" | 22 #include "net/proxy/proxy_service.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 196 } |
196 | 197 |
197 EXPECT_EQ(test_case.expected_request_type, | 198 EXPECT_EQ(test_case.expected_request_type, |
198 GetDataReductionProxyRequestType( | 199 GetDataReductionProxyRequestType( |
199 *request, data_reduction_proxy_config, | 200 *request, data_reduction_proxy_config, |
200 *test_context->config())); | 201 *test_context->config())); |
201 } | 202 } |
202 } | 203 } |
203 | 204 |
204 } // namespace data_reduction_proxy | 205 } // namespace data_reduction_proxy |
OLD | NEW |