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

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

Issue 10447117: Unwire the clear on exit preference from the storage systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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 8b513bbe366b65ffc2f7709c47b615514b39414a..6881c225d4b07596013457c40d031c35e88d97bf 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -164,8 +164,6 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
scoped_ptr<ProfileParams> params(new ProfileParams);
params->path = profile->GetPath();
- params->clear_local_state_on_exit =
- pref_service->GetBoolean(prefs::kClearSiteDataOnExit);
// Set up Accept-Language and Accept-Charset header values
params->accept_language = net::HttpUtil::GenerateAcceptLanguageHeader(
@@ -249,8 +247,7 @@ void ProfileIOData::AppRequestContext::SetHttpTransactionFactory(
ProfileIOData::AppRequestContext::~AppRequestContext() {}
ProfileIOData::ProfileParams::ProfileParams()
- : clear_local_state_on_exit(false),
- io_thread(NULL),
+ : io_thread(NULL),
#if defined(ENABLE_NOTIFICATIONS)
notification_service(NULL),
#endif
@@ -574,7 +571,6 @@ void ProfileIOData::ShutdownOnUIThread() {
#if !defined(OS_CHROMEOS)
enable_metrics_.Destroy();
#endif
- clear_local_state_on_exit_.Destroy();
safe_browsing_enabled_.Destroy();
session_startup_pref_.Destroy();
#if defined(ENABLE_CONFIGURATION_POLICY)

Powered by Google App Engine
This is Rietveld 408576698