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

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

Issue 390533003: Bypassed Bytes UMAs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed logging and fixed MaybeBypassProxyAndPrepareToRetry Created 6 years, 5 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index dcf3bcf9d593e80c22e8e293bff942b704ac5f2a..b91bc612ef15e45ec0ee5d2b1d14bad508402c90 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -387,6 +387,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
&enable_referrers_,
&enable_do_not_track_,
&force_safesearch_,
+ &spdy_proxy_auth_enabled_,
pref_service);
scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy =
@@ -1012,6 +1013,7 @@ void ProfileIOData::Init(
network_delegate->set_cookie_settings(profile_params_->cookie_settings.get());
network_delegate->set_enable_do_not_track(&enable_do_not_track_);
network_delegate->set_force_google_safe_search(&force_safesearch_);
+ network_delegate->set_data_reduction_proxy_enabled(&spdy_proxy_auth_enabled_);
network_delegate->set_prerender_tracker(profile_params_->prerender_tracker);
network_delegate_.reset(network_delegate);
@@ -1172,6 +1174,7 @@ void ProfileIOData::ShutdownOnUIThread() {
enable_referrers_.Destroy();
enable_do_not_track_.Destroy();
force_safesearch_.Destroy();
+ spdy_proxy_auth_enabled_.Destroy();
#if !defined(OS_CHROMEOS)
enable_metrics_.Destroy();
#endif

Powered by Google App Engine
This is Rietveld 408576698