OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |