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_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ | 6 #define CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 namespace base { | 11 namespace base { |
12 class DictionaryValue; | 12 class DictionaryValue; |
13 class Value; | 13 class Value; |
14 } // namespace base | 14 } // namespace base |
15 | 15 |
16 // Used to perform a series of checks/transformations on a PrefHashStore. | 16 // Used to perform a series of checks/transformations on a PrefHashStore. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // Indicates whether the super MAC was successfully verified at the beginning | 86 // Indicates whether the super MAC was successfully verified at the beginning |
87 // of this transaction. | 87 // of this transaction. |
88 virtual bool IsSuperMACValid() const = 0; | 88 virtual bool IsSuperMACValid() const = 0; |
89 | 89 |
90 // Forces a valid super MAC to be stored when this transaction terminates. | 90 // Forces a valid super MAC to be stored when this transaction terminates. |
91 // Returns true if this results in a change to the store contents. | 91 // Returns true if this results in a change to the store contents. |
92 virtual bool StampSuperMac() = 0; | 92 virtual bool StampSuperMac() = 0; |
93 }; | 93 }; |
94 | 94 |
95 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_TRANSACTION_H_ | 95 #endif // CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
OLD | NEW |