OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/content/browser/content_resource_type_
provider.h" | 5 #include "components/data_reduction_proxy/content/browser/content_resource_type_
provider.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/message_loop/message_loop.h" |
9 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
10 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
11 #include "base/test/histogram_tester.h" | 12 #include "base/test/histogram_tester.h" |
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" | 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" |
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele
gate.h" | 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele
gate.h" |
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" | 15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" | 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" |
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ
est_options.h" | 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ
est_options.h" |
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" |
18 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" | 19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 if (test.expected_content_type == | 383 if (test.expected_content_type == |
383 ResourceTypeProvider::CONTENT_TYPE_MEDIA) { | 384 ResourceTypeProvider::CONTENT_TYPE_MEDIA) { |
384 EXPECT_EQ(net::ProxyServer::Direct(), request->proxy_server()); | 385 EXPECT_EQ(net::ProxyServer::Direct(), request->proxy_server()); |
385 } else { | 386 } else { |
386 EXPECT_EQ(unspecified, request->proxy_server()); | 387 EXPECT_EQ(unspecified, request->proxy_server()); |
387 } | 388 } |
388 } | 389 } |
389 } | 390 } |
390 | 391 |
391 } // namespace data_reduction_proxy | 392 } // namespace data_reduction_proxy |
OLD | NEW |