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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 644883006: Pref to update daily content lengths with the latest values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new include Created 6 years, 1 month 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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 enable_metrics_.Destroy(); 1203 enable_metrics_.Destroy();
1204 #endif 1204 #endif
1205 safe_browsing_enabled_.Destroy(); 1205 safe_browsing_enabled_.Destroy();
1206 printing_enabled_.Destroy(); 1206 printing_enabled_.Destroy();
1207 sync_disabled_.Destroy(); 1207 sync_disabled_.Destroy();
1208 signin_allowed_.Destroy(); 1208 signin_allowed_.Destroy();
1209 network_prediction_options_.Destroy(); 1209 network_prediction_options_.Destroy();
1210 quick_check_enabled_.Destroy(); 1210 quick_check_enabled_.Destroy();
1211 if (media_device_id_salt_.get()) 1211 if (media_device_id_salt_.get())
1212 media_device_id_salt_->ShutdownOnUIThread(); 1212 media_device_id_salt_->ShutdownOnUIThread();
1213 if (data_reduction_proxy_statistics_prefs_.get())
1214 data_reduction_proxy_statistics_prefs_->ShutdownOnUIThread();
1213 session_startup_pref_.Destroy(); 1215 session_startup_pref_.Destroy();
1214 #if defined(ENABLE_CONFIGURATION_POLICY) 1216 #if defined(ENABLE_CONFIGURATION_POLICY)
1215 if (url_blacklist_manager_) 1217 if (url_blacklist_manager_)
1216 url_blacklist_manager_->ShutdownOnUIThread(); 1218 url_blacklist_manager_->ShutdownOnUIThread();
1217 #endif 1219 #endif
1218 if (chrome_http_user_agent_settings_) 1220 if (chrome_http_user_agent_settings_)
1219 chrome_http_user_agent_settings_->CleanupOnUIThread(); 1221 chrome_http_user_agent_settings_->CleanupOnUIThread();
1220 incognito_availibility_pref_.Destroy(); 1222 incognito_availibility_pref_.Destroy();
1221 1223
1222 if (!context_getters->empty()) { 1224 if (!context_getters->empty()) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1285 void ProfileIOData::SetCookieSettingsForTesting( 1287 void ProfileIOData::SetCookieSettingsForTesting(
1286 CookieSettings* cookie_settings) { 1288 CookieSettings* cookie_settings) {
1287 DCHECK(!cookie_settings_.get()); 1289 DCHECK(!cookie_settings_.get());
1288 cookie_settings_ = cookie_settings; 1290 cookie_settings_ = cookie_settings;
1289 } 1291 }
1290 1292
1291 void ProfileIOData::set_signin_names_for_testing( 1293 void ProfileIOData::set_signin_names_for_testing(
1292 SigninNamesOnIOThread* signin_names) { 1294 SigninNamesOnIOThread* signin_names) {
1293 signin_names_.reset(signin_names); 1295 signin_names_.reset(signin_names);
1294 } 1296 }
OLDNEW
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698