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

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: New approach. 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 f27e553a5adc44fb32a4ada2aa91d70b14fc7b12..bb6c9f768effd9bac41df00b18e9d53ee09c5b94 100644
--- a/chrome/browser/prefs/pref_hash_store_transaction.h
+++ b/chrome/browser/prefs/pref_hash_store_transaction.h
@@ -68,6 +68,10 @@ class PrefHashStoreTransaction {
const std::string& path,
const base::DictionaryValue* split_value) = 0;
+ virtual bool HasHash(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;
+
// Forces the super MAC to be updated. Returns true if this results in a
// change to the store contents.
virtual bool StampSuperMac() = 0;

Powered by Google App Engine
This is Rietveld 408576698