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

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

Issue 324493002: Move preference MACs to the protected preference stores. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pull some stuff from Persistent to WriteablePrefStore. Created 6 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: chrome/browser/prefs/pref_hash_store_transaction.h
diff --git a/chrome/browser/prefs/pref_hash_store_transaction.h b/chrome/browser/prefs/pref_hash_store_transaction.h
index 10022aae836311844aca1cd31ea2769453f5ab4d..0e0e20d94c73802b100bd04a90f2427c66e3e159 100644
--- a/chrome/browser/prefs/pref_hash_store_transaction.h
+++ b/chrome/browser/prefs/pref_hash_store_transaction.h
@@ -51,6 +51,11 @@ class PrefHashStoreTransaction {
virtual void StoreHash(const std::string& path,
const base::Value* value) = 0;
+ virtual const base::Value* GetHash(const std::string& path) const = 0;
+ virtual void ImportHash(const std::string& path, const base::Value* hash) = 0;
+ virtual void ClearHash(const std::string& path) = 0;
+ virtual bool StampSuperMac() = 0;
gab 2014/06/06 21:54:59 Add those methods at the bottom of this file (keep
erikwright (departed) 2014/06/10 20:27:47 Done.
+
// Checks |initial_value| against the existing stored hashes for the split
// preference at |path|. |initial_split_value| being an empty dictionary or
// NULL is equivalent. |invalid_keys| must initially be empty. |invalid_keys|

Powered by Google App Engine
This is Rietveld 408576698