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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc

Issue 903213003: Enable QUIC for proxies based on Finch config and command line switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, added more tests Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
index 1297c623d29fc3aee810d8cd2f9a392bf8b5c1a8..545e6ec0819704ea464bd50731b2d206a9d954fa 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
@@ -8,6 +8,7 @@
#include "base/prefs/pref_service.h"
#include "base/prefs/scoped_user_pref_update.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/io_thread.h"
Ryan Hamilton 2015/02/11 00:20:32 Is this import needed? Looks like all the other ch
tbansal1 2015/02/11 01:25:26 Done.
#include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
#include "chrome/browser/prefs/proxy_prefs.h"
#include "chrome/browser/profiles/profile.h"
@@ -69,13 +70,12 @@ DataReductionProxyChromeSettings::~DataReductionProxyChromeSettings() {
void DataReductionProxyChromeSettings::InitDataReductionProxySettings(
data_reduction_proxy::DataReductionProxyIOData* io_data,
PrefService* profile_prefs,
+
PrefService* local_state_prefs,
net::URLRequestContextGetter* request_context) {
SetProxyConfigurator(io_data->configurator());
DataReductionProxySettings::InitDataReductionProxySettings(
- profile_prefs,
- request_context,
- io_data->net_log(),
+ profile_prefs, request_context, io_data->net_log(),
io_data->event_store());
DataReductionProxySettings::SetOnDataReductionEnabledCallback(
base::Bind(&DataReductionProxyChromeSettings::RegisterSyntheticFieldTrial,

Powered by Google App Engine
This is Rietveld 408576698