OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual ValueState CheckSplitValue( | 71 virtual ValueState CheckSplitValue( |
72 const std::string& path, | 72 const std::string& path, |
73 const base::DictionaryValue* initial_split_value, | 73 const base::DictionaryValue* initial_split_value, |
74 std::vector<std::string>* invalid_keys) const = 0; | 74 std::vector<std::string>* invalid_keys) const = 0; |
75 | 75 |
76 // Stores hashes for the |value| of the split preference at |path|. | 76 // Stores hashes for the |value| of the split preference at |path|. |
77 // |split_value| being an empty dictionary or NULL is equivalent. | 77 // |split_value| being an empty dictionary or NULL is equivalent. |
78 virtual void StoreSplitHash( | 78 virtual void StoreSplitHash( |
79 const std::string& path, | 79 const std::string& path, |
80 const base::DictionaryValue* split_value) = 0; | 80 const base::DictionaryValue* split_value) = 0; |
| 81 |
| 82 // Records that a pref reset event has taken place. |
| 83 virtual void RecordResetEvent() = 0; |
81 }; | 84 }; |
82 | 85 |
83 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ | 86 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ |
OLD | NEW |