Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/prefs/pref_service.h"
11 #include "build/build_config.h" 10 #include "build/build_config.h"
12 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" 11 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
13 #include "chrome/common/chrome_content_client.h" 12 #include "chrome/common/chrome_content_client.h"
14 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
15 #include "components/data_reduction_proxy/content/browser/content_lofi_decider.h " 14 #include "components/data_reduction_proxy/content/browser/content_lofi_decider.h "
16 #include "components/data_reduction_proxy/content/browser/content_lofi_ui_servic e.h" 15 #include "components/data_reduction_proxy/content/browser/content_lofi_ui_servic e.h"
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_retrieval_params.h" 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_retrieval_params.h"
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe riments_stats.h" 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe riments_stats.h"
19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h" 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h"
20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
20 #include "components/prefs/pref_service.h"
21 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/web_contents.h" 22 #include "content/public/browser/web_contents.h"
23 23
24 #if defined(OS_ANDROID) 24 #if defined(OS_ANDROID)
25 #include "base/android/build_info.h" 25 #include "base/android/build_info.h"
26 #include "chrome/browser/android/tab_android.h" 26 #include "chrome/browser/android/tab_android.h"
27 #endif 27 #endif
28 28
29 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) 29 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING)
30 #include "chrome/browser/browser_process.h" 30 #include "chrome/browser/browser_process.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 base::Unretained( 108 base::Unretained(
109 data_reduction_proxy_io_data->configurator())), 109 data_reduction_proxy_io_data->configurator())),
110 ui_task_runner, io_task_runner, 110 ui_task_runner, io_task_runner,
111 g_browser_process->GetApplicationLocale())); 111 g_browser_process->GetApplicationLocale()));
112 data_reduction_proxy_io_data->set_debug_ui_service( 112 data_reduction_proxy_io_data->set_debug_ui_service(
113 std::move(data_reduction_proxy_ui_service)); 113 std::move(data_reduction_proxy_ui_service));
114 #endif 114 #endif
115 115
116 return data_reduction_proxy_io_data; 116 return data_reduction_proxy_io_data;
117 } 117 }
OLDNEW
« no previous file with comments | « chrome/browser/net/sdch_owner_pref_storage.cc ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698