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..41429d68739aaeef6582515acd9d881ecece3890 100644 |
--- a/chrome/browser/prefs/pref_hash_store_impl.h |
+++ b/chrome/browser/prefs/pref_hash_store_impl.h |
@@ -16,10 +16,6 @@ |
class PrefRegistrySimple; |
class PrefService; |
-namespace base { |
-class Value; |
-} // namespace base |
- |
// Implements PrefHashStoreImpl by storing preference hashes in a PrefService. |
class PrefHashStoreImpl : public PrefHashStore { |
public: |
@@ -44,8 +40,21 @@ class PrefHashStoreImpl : public PrefHashStore { |
const base::Value* value) const OVERRIDE; |
virtual void StoreHash(const std::string& path, |
const base::Value* value) OVERRIDE; |
+ virtual ValueState CheckSplitValue( |
+ const std::string& path, |
+ const base::DictionaryValue* initial_split_value, |
+ std::vector<std::string>* invalid_keys) const OVERRIDE; |
+ virtual void StoreSplitHash( |
+ const std::string& path, |
+ const base::DictionaryValue* split_value) OVERRIDE; |
private: |
+ // Clears any hashes stored for |path|. |
+ void ClearPath(const std::string& path); |
+ |
+ // Returns true if there are split hashes stored for |path|. |
+ bool HasSplitHashesAtPath(const std::string& path) const; |
+ |
std::string hash_store_id_; |
PrefHashCalculator pref_hash_calculator_; |
PrefService* local_state_; |