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

Unified Diff: services/preferences/public/cpp/persistent_pref_store_client.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: services/preferences/public/cpp/persistent_pref_store_client.cc
diff --git a/services/preferences/public/cpp/persistent_pref_store_client.cc b/services/preferences/public/cpp/persistent_pref_store_client.cc
index ef9a6331bbfa2eb730861642591cd1c117af3e57..2c72afcb2da15dd449c06fb450ef0e914ee35612 100644
--- a/services/preferences/public/cpp/persistent_pref_store_client.cc
+++ b/services/preferences/public/cpp/persistent_pref_store_client.cc
@@ -181,6 +181,11 @@ void PersistentPrefStoreClient::ClearMutableValues() {
return pref_store_->ClearMutableValues();
}
+void PersistentPrefStoreClient::OnStoreDeletionFromDisk() {
+ DCHECK(pref_store_);
+ return pref_store_->OnStoreDeletionFromDisk();
+}
+
PersistentPrefStoreClient::~PersistentPrefStoreClient() {
if (!pref_store_)
return;

Powered by Google App Engine
This is Rietveld 408576698