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

Unified Diff: chrome/browser/prefs/pref_hash_store_impl.h

Issue 126093007: Introduce a hash_of_hashes dictionary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wording Created 6 years, 11 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 | « chrome/browser/prefs/pref_hash_store.h ('k') | chrome/browser/prefs/pref_hash_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_hash_store_impl.h
diff --git a/chrome/browser/prefs/pref_hash_store_impl.h b/chrome/browser/prefs/pref_hash_store_impl.h
index 1d3f5817e32747b374b50ccdea74fb93d0222514..63ac7cd9d9089880f4adc0d7abb5a20816363f70 100644
--- a/chrome/browser/prefs/pref_hash_store_impl.h
+++ b/chrome/browser/prefs/pref_hash_store_impl.h
@@ -46,9 +46,15 @@ class PrefHashStoreImpl : public PrefHashStore {
const base::Value* value) OVERRIDE;
private:
+ // Returns true if the dictionary of hashes stored for |hash_store_id_| is
+ // trusted (which implies unknown values can be trusted as newly tracked
+ // values).
+ bool IsHashDictionaryTrusted() const;
+
std::string hash_store_id_;
PrefHashCalculator pref_hash_calculator_;
PrefService* local_state_;
+ bool initial_hashes_dictionary_trusted_;
DISALLOW_COPY_AND_ASSIGN(PrefHashStoreImpl);
};
« no previous file with comments | « chrome/browser/prefs/pref_hash_store.h ('k') | chrome/browser/prefs/pref_hash_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698