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

Unified Diff: components/prefs/pref_service.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Update comments Created 3 years, 4 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
« no previous file with comments | « components/prefs/pref_service.h ('k') | components/prefs/testing_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « components/prefs/pref_service.h ('k') | components/prefs/testing_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698