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 COMPONENTS_USER_PREFS_TRACKED_HASH_STORE_CONTENTS_H_ | 5 #ifndef SERVICES_PREFERENCES_TRACKED_HASH_STORE_CONTENTS_H_ |
6 #define COMPONENTS_USER_PREFS_TRACKED_HASH_STORE_CONTENTS_H_ | 6 #define SERVICES_PREFERENCES_TRACKED_HASH_STORE_CONTENTS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class DictionaryValue; | 15 class DictionaryValue; |
16 class Value; | 16 class Value; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 // Retrieves the super MAC value previously stored by SetSuperMac. May be | 81 // Retrieves the super MAC value previously stored by SetSuperMac. May be |
82 // empty if no super MAC has been stored or if this store does not support | 82 // empty if no super MAC has been stored or if this store does not support |
83 // super MACs. | 83 // super MACs. |
84 virtual std::string GetSuperMac() const = 0; | 84 virtual std::string GetSuperMac() const = 0; |
85 | 85 |
86 // Stores a super MAC value for this hash store. | 86 // Stores a super MAC value for this hash store. |
87 virtual void SetSuperMac(const std::string& super_mac) = 0; | 87 virtual void SetSuperMac(const std::string& super_mac) = 0; |
88 }; | 88 }; |
89 | 89 |
90 #endif // COMPONENTS_USER_PREFS_TRACKED_HASH_STORE_CONTENTS_H_ | 90 #endif // SERVICES_PREFERENCES_TRACKED_HASH_STORE_CONTENTS_H_ |
OLD | NEW |