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

Side by Side 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: Addressed bengr comments 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 network_delegate->set_extension_info_map( 1005 network_delegate->set_extension_info_map(
1006 profile_params_->extension_info_map.get()); 1006 profile_params_->extension_info_map.get());
1007 #if defined(ENABLE_CONFIGURATION_POLICY) 1007 #if defined(ENABLE_CONFIGURATION_POLICY)
1008 network_delegate->set_url_blacklist_manager(url_blacklist_manager_.get()); 1008 network_delegate->set_url_blacklist_manager(url_blacklist_manager_.get());
1009 #endif 1009 #endif
1010 network_delegate->set_profile(profile_params_->profile); 1010 network_delegate->set_profile(profile_params_->profile);
1011 network_delegate->set_profile_path(profile_params_->path); 1011 network_delegate->set_profile_path(profile_params_->path);
1012 network_delegate->set_cookie_settings(profile_params_->cookie_settings.get()); 1012 network_delegate->set_cookie_settings(profile_params_->cookie_settings.get());
1013 network_delegate->set_enable_do_not_track(&enable_do_not_track_); 1013 network_delegate->set_enable_do_not_track(&enable_do_not_track_);
1014 network_delegate->set_force_google_safe_search(&force_safesearch_); 1014 network_delegate->set_force_google_safe_search(&force_safesearch_);
1015 network_delegate->set_data_reduction_proxy_enabled_pref(
1016 &data_reduction_proxy_enabled_);
1015 network_delegate->set_prerender_tracker(profile_params_->prerender_tracker); 1017 network_delegate->set_prerender_tracker(profile_params_->prerender_tracker);
1016 network_delegate_.reset(network_delegate); 1018 network_delegate_.reset(network_delegate);
1017 1019
1018 fraudulent_certificate_reporter_.reset( 1020 fraudulent_certificate_reporter_.reset(
1019 new chrome_browser_net::ChromeFraudulentCertificateReporter( 1021 new chrome_browser_net::ChromeFraudulentCertificateReporter(
1020 main_request_context_.get())); 1022 main_request_context_.get()));
1021 1023
1022 // NOTE: Proxy service uses the default io thread network delegate, not the 1024 // NOTE: Proxy service uses the default io thread network delegate, not the
1023 // delegate just created. 1025 // delegate just created.
1024 proxy_service_.reset( 1026 proxy_service_.reset(
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 void ProfileIOData::SetCookieSettingsForTesting( 1253 void ProfileIOData::SetCookieSettingsForTesting(
1252 CookieSettings* cookie_settings) { 1254 CookieSettings* cookie_settings) {
1253 DCHECK(!cookie_settings_.get()); 1255 DCHECK(!cookie_settings_.get());
1254 cookie_settings_ = cookie_settings; 1256 cookie_settings_ = cookie_settings;
1255 } 1257 }
1256 1258
1257 void ProfileIOData::set_signin_names_for_testing( 1259 void ProfileIOData::set_signin_names_for_testing(
1258 SigninNamesOnIOThread* signin_names) { 1260 SigninNamesOnIOThread* signin_names) {
1259 signin_names_.reset(signin_names); 1261 signin_names_.reset(signin_names);
1260 } 1262 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698