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

Unified Diff: components/prefs/pref_service.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Try loading unloaded profiles before calling OnStoreDeletionFromDisk Created 3 years, 6 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: components/prefs/pref_service.cc
diff --git a/components/prefs/pref_service.cc b/components/prefs/pref_service.cc
index 6abc09bcb46b56df74c3415279c2e6c7ef849b5a..2d819f9e77852417961787139a1ffb23da5af76d 100644
--- a/components/prefs/pref_service.cc
+++ b/components/prefs/pref_service.cc
@@ -374,6 +374,10 @@ void PrefService::ClearMutableValues() {
user_pref_store_->ClearMutableValues();
}
+void PrefService::OnStoreDeletionFromDisk() {
+ user_pref_store_->OnStoreDeletionFromDisk();
+}
+
void PrefService::Set(const std::string& path, const base::Value& value) {
SetUserPrefValue(path, value.CreateDeepCopy());
}

Powered by Google App Engine
This is Rietveld 408576698