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

Unified Diff: components/prefs/json_pref_store.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/json_pref_store.cc
diff --git a/components/prefs/json_pref_store.cc b/components/prefs/json_pref_store.cc
index c44dfa9e9e4aa4bc2344620987e784bdca432cda..f6736954a778f6697c8ffa15cab859dfed51056f 100644
--- a/components/prefs/json_pref_store.cc
+++ b/components/prefs/json_pref_store.cc
@@ -384,6 +384,11 @@ void JsonPrefStore::ClearMutableValues() {
NOTIMPLEMENTED();
}
+void JsonPrefStore::OnStoreDeletionFromDisk() {
+ if (pref_filter_)
+ pref_filter_->OnStoreDeletionFromDisk();
+}
+
void JsonPrefStore::OnFileRead(std::unique_ptr<ReadResult> read_result) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);

Powered by Google App Engine
This is Rietveld 408576698