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 "build/build_config.h" |
9 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" | 9 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
10 #include "chrome/common/chrome_content_client.h" | 10 #include "chrome/common/chrome_content_client.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 base::Bind(&data_reduction_proxy::DataReductionProxyConfigurator:: | 77 base::Bind(&data_reduction_proxy::DataReductionProxyConfigurator:: |
78 GetProxyConfig, | 78 GetProxyConfig, |
79 base::Unretained( | 79 base::Unretained( |
80 data_reduction_proxy_io_data->configurator())), | 80 data_reduction_proxy_io_data->configurator())), |
81 ui_task_runner, io_task_runner, | 81 ui_task_runner, io_task_runner, |
82 g_browser_process->GetApplicationLocale())); | 82 g_browser_process->GetApplicationLocale())); |
83 data_reduction_proxy_io_data->set_debug_ui_service( | 83 data_reduction_proxy_io_data->set_debug_ui_service( |
84 data_reduction_proxy_ui_service.Pass()); | 84 data_reduction_proxy_ui_service.Pass()); |
85 #endif | 85 #endif |
86 | 86 |
87 return data_reduction_proxy_io_data.Pass(); | 87 return data_reduction_proxy_io_data; |
88 } | 88 } |
OLD | NEW |