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

Unified Diff: chrome/browser/prefs/pref_hash_filter.cc

Issue 294123003: Prevent settings hardening UI from appearing when no resets have occurred. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_hash_filter.cc
diff --git a/chrome/browser/prefs/pref_hash_filter.cc b/chrome/browser/prefs/pref_hash_filter.cc
index a760dbe67154103e6ad3b99e73c4947ad875ae85..891990821c9ae91290c2999141ce46afde01c506 100644
--- a/chrome/browser/prefs/pref_hash_filter.cc
+++ b/chrome/browser/prefs/pref_hash_filter.cc
@@ -180,6 +180,7 @@ void PrefHashFilter::FinalizeFilterOnLoad(
pref_store_contents->Set(prefs::kPreferenceResetTime,
new base::StringValue(base::Int64ToString(
base::Time::Now().ToInternalValue())));
+ FilterUpdate(prefs::kPreferenceResetTime);
}
// TODO(gab): Remove this histogram by Feb 21 2014; after sufficient timing
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698