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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 286013002: Added alternative configuration for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 915f5c3d082ef78ee17765cf3f2d29dc955ba1e0..391f9874626dd91be542125844a5ef5538d4cbe3 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -50,6 +50,7 @@
#if defined(OS_ANDROID) || defined(OS_IOS)
#if defined(SPDY_PROXY_AUTH_VALUE)
+#include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h"
mmenke 2014/05/21 16:10:17 Is this actually needed? We don't dereference a p
bengr 2014/05/28 01:25:32 Done.
#include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.h"
#endif
#endif
@@ -484,8 +485,9 @@ void ProfileImplIOData::InitializeInternal(
#if defined(OS_ANDROID) || defined(OS_IOS)
#if defined(SPDY_PROXY_AUTH_VALUE)
data_reduction_proxy::DataReductionProxySettings::
- InitDataReductionProxySession(main_cache->GetSession(),
- SPDY_PROXY_AUTH_VALUE);
+ InitDataReductionProxySession(
+ main_cache->GetSession(),
+ io_thread_globals->data_reduction_proxy_params.get());
#endif
#endif

Powered by Google App Engine
This is Rietveld 408576698