| 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 655453894254934c7d773ff94590ab9aa79aaac4..dfcf699d7852882033c8501875741fdaa5234cc8 100644
|
| --- a/chrome/browser/prefs/pref_hash_filter.cc
|
| +++ b/chrome/browser/prefs/pref_hash_filter.cc
|
| @@ -152,7 +152,7 @@ void PrefHashFilter::Initialize(const PrefStore& pref_store) {
|
|
|
| // Validates loaded preference values according to stored hashes, reports
|
| // validation results via UMA, and updates hashes in case of mismatch.
|
| -void PrefHashFilter::FilterOnLoad(base::DictionaryValue* pref_store_contents) {
|
| +bool PrefHashFilter::FilterOnLoad(base::DictionaryValue* pref_store_contents) {
|
| DCHECK(pref_store_contents);
|
| base::TimeTicks checkpoint = base::TimeTicks::Now();
|
|
|
| @@ -180,6 +180,8 @@ void PrefHashFilter::FilterOnLoad(base::DictionaryValue* pref_store_contents) {
|
| // significantly affect startup.
|
| UMA_HISTOGRAM_TIMES("Settings.FilterOnLoadTime",
|
| base::TimeTicks::Now() - checkpoint);
|
| +
|
| + return did_reset;
|
| }
|
|
|
| // Marks |path| has having changed if it is part of |tracked_paths_|. A new hash
|
|
|