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 "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h" | 5 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h" |
6 | 6 |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
| 8 #include "build/build_config.h" |
8 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" | 9 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
9 #include "chrome/common/chrome_content_client.h" | 10 #include "chrome/common/chrome_content_client.h" |
10 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
11 #include "components/data_reduction_proxy/content/browser/content_lofi_decider.h
" | 12 #include "components/data_reduction_proxy/content/browser/content_lofi_decider.h
" |
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_retrieval_params.h" | 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_retrieval_params.h" |
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe
riments_stats.h" | 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe
riments_stats.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/common/data_reduction_proxy_param
s.h" | 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
16 | 17 |
17 #if defined(OS_ANDROID) | 18 #if defined(OS_ANDROID) |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 base::Unretained( | 79 base::Unretained( |
79 data_reduction_proxy_io_data->configurator())), | 80 data_reduction_proxy_io_data->configurator())), |
80 ui_task_runner, io_task_runner, | 81 ui_task_runner, io_task_runner, |
81 g_browser_process->GetApplicationLocale())); | 82 g_browser_process->GetApplicationLocale())); |
82 data_reduction_proxy_io_data->set_debug_ui_service( | 83 data_reduction_proxy_io_data->set_debug_ui_service( |
83 data_reduction_proxy_ui_service.Pass()); | 84 data_reduction_proxy_ui_service.Pass()); |
84 #endif | 85 #endif |
85 | 86 |
86 return data_reduction_proxy_io_data.Pass(); | 87 return data_reduction_proxy_io_data.Pass(); |
87 } | 88 } |
OLD | NEW |