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

Unified Diff: components/prefs/pref_service.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Created 3 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: components/prefs/pref_service.cc
diff --git a/components/prefs/pref_service.cc b/components/prefs/pref_service.cc
index dccebf458a210c6ddc95eb23d5926f8834c24944..57672cf1c2882e4bfa101bcb3cdaa1899b5fdf71 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::CleanupForProfileDeletion() {
+ user_pref_store_->CleanupForProfileDeletion();
+}
+
void PrefService::Set(const std::string& path, const base::Value& value) {
SetUserPrefValue(path, value.CreateDeepCopy());
}

Powered by Google App Engine
This is Rietveld 408576698