| 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 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 #if defined(SPDY_PROXY_AUTH_ORIGIN) | 1211 #if defined(SPDY_PROXY_AUTH_ORIGIN) |
| 1212 data_reduction_proxy_enabled_.Destroy(); | 1212 data_reduction_proxy_enabled_.Destroy(); |
| 1213 #endif | 1213 #endif |
| 1214 printing_enabled_.Destroy(); | 1214 printing_enabled_.Destroy(); |
| 1215 sync_disabled_.Destroy(); | 1215 sync_disabled_.Destroy(); |
| 1216 signin_allowed_.Destroy(); | 1216 signin_allowed_.Destroy(); |
| 1217 // TODO(bnc): remove per https://crbug.com/334602. | 1217 // TODO(bnc): remove per https://crbug.com/334602. |
| 1218 network_prediction_enabled_.Destroy(); | 1218 network_prediction_enabled_.Destroy(); |
| 1219 network_prediction_options_.Destroy(); | 1219 network_prediction_options_.Destroy(); |
| 1220 quick_check_enabled_.Destroy(); | 1220 quick_check_enabled_.Destroy(); |
| 1221 if (media_device_id_salt_) | 1221 if (media_device_id_salt_.get()) |
| 1222 media_device_id_salt_->ShutdownOnUIThread(); | 1222 media_device_id_salt_->ShutdownOnUIThread(); |
| 1223 session_startup_pref_.Destroy(); | 1223 session_startup_pref_.Destroy(); |
| 1224 #if defined(ENABLE_CONFIGURATION_POLICY) | 1224 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 1225 if (url_blacklist_manager_) | 1225 if (url_blacklist_manager_) |
| 1226 url_blacklist_manager_->ShutdownOnUIThread(); | 1226 url_blacklist_manager_->ShutdownOnUIThread(); |
| 1227 #endif | 1227 #endif |
| 1228 if (chrome_http_user_agent_settings_) | 1228 if (chrome_http_user_agent_settings_) |
| 1229 chrome_http_user_agent_settings_->CleanupOnUIThread(); | 1229 chrome_http_user_agent_settings_->CleanupOnUIThread(); |
| 1230 incognito_availibility_pref_.Destroy(); | 1230 incognito_availibility_pref_.Destroy(); |
| 1231 | 1231 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 void ProfileIOData::SetCookieSettingsForTesting( | 1295 void ProfileIOData::SetCookieSettingsForTesting( |
| 1296 CookieSettings* cookie_settings) { | 1296 CookieSettings* cookie_settings) { |
| 1297 DCHECK(!cookie_settings_.get()); | 1297 DCHECK(!cookie_settings_.get()); |
| 1298 cookie_settings_ = cookie_settings; | 1298 cookie_settings_ = cookie_settings; |
| 1299 } | 1299 } |
| 1300 | 1300 |
| 1301 void ProfileIOData::set_signin_names_for_testing( | 1301 void ProfileIOData::set_signin_names_for_testing( |
| 1302 SigninNamesOnIOThread* signin_names) { | 1302 SigninNamesOnIOThread* signin_names) { |
| 1303 signin_names_.reset(signin_names); | 1303 signin_names_.reset(signin_names); |
| 1304 } | 1304 } |
| OLD | NEW |