Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TRANSACTION_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ |
| 6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 virtual ValueState CheckSplitValue( | 60 virtual ValueState CheckSplitValue( |
| 61 const std::string& path, | 61 const std::string& path, |
| 62 const base::DictionaryValue* initial_split_value, | 62 const base::DictionaryValue* initial_split_value, |
| 63 std::vector<std::string>* invalid_keys) const = 0; | 63 std::vector<std::string>* invalid_keys) const = 0; |
| 64 | 64 |
| 65 // Stores hashes for the |value| of the split preference at |path|. | 65 // Stores hashes for the |value| of the split preference at |path|. |
| 66 // |split_value| being an empty dictionary or NULL is equivalent. | 66 // |split_value| being an empty dictionary or NULL is equivalent. |
| 67 virtual void StoreSplitHash( | 67 virtual void StoreSplitHash( |
| 68 const std::string& path, | 68 const std::string& path, |
| 69 const base::DictionaryValue* split_value) = 0; | 69 const base::DictionaryValue* split_value) = 0; |
| 70 | |
| 71 // Forces the super MAC to be updated. Returns true if this results in a | |
|
gab
2014/06/11 21:28:04
s/updated/set if it's invalid/
| |
| 72 // change to the store contents. | |
|
gab
2014/06/11 21:28:04
s/the store/this store's/
| |
| 73 virtual bool StampSuperMac() = 0; | |
|
gab
2014/06/11 21:28:04
How about SetSuperMacIfRequired() ?
With that nam
| |
| 70 }; | 74 }; |
| 71 | 75 |
| 72 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ | 76 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ |
| OLD | NEW |