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

Unified Diff: services/preferences/public/cpp/persistent_pref_store_client.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Fix to get OSX-only ActiveProfileDeletedNextProfileDeletedToo test to pass 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 e13d1c96be9b17ca2d526598b8149b1c9399d7a2..c97b60fe1af3e89c206424909ca444b2b2db9d45 100644
--- a/services/preferences/public/cpp/persistent_pref_store_client.cc
+++ b/services/preferences/public/cpp/persistent_pref_store_client.cc
@@ -267,6 +267,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