Index: components/user_prefs/tracked/pref_hash_store_impl.h |
diff --git a/components/user_prefs/tracked/pref_hash_store_impl.h b/components/user_prefs/tracked/pref_hash_store_impl.h |
index 4a2520f0d891f71f63a029a372706205f1bc5ab1..e250236093566f5762aef7ad5edc96e8a3f9e18c 100644 |
--- a/components/user_prefs/tracked/pref_hash_store_impl.h |
+++ b/components/user_prefs/tracked/pref_hash_store_impl.h |
@@ -16,6 +16,11 @@ |
class HashStoreContents; |
class PrefHashStoreTransaction; |
+namespace base { |
+class DictionaryValue; |
+class Value; |
+} // namespace base |
+ |
// Implements PrefHashStoreImpl by storing preference hashes in a |
// HashStoreContents. |
class PrefHashStoreImpl : public PrefHashStore { |
@@ -47,7 +52,14 @@ class PrefHashStoreImpl : public PrefHashStore { |
// PrefHashStore implementation. |
std::unique_ptr<PrefHashStoreTransaction> BeginTransaction( |
- std::unique_ptr<HashStoreContents> storage) override; |
+ HashStoreContents* storage) override; |
+ |
+ std::string ComputeMac(const std::string& path, |
+ const base::Value* new_value) override; |
+ |
+ std::unique_ptr<base::DictionaryValue> ComputeSplitMacs( |
+ const std::string& path, |
+ const base::DictionaryValue* split_values) override; |
private: |
class PrefHashStoreTransactionImpl; |