| 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_DICTIONARY_HASH_STORE_CONTENTS_H_ | 5 #ifndef SERVICES_PREFERENCES_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ |
| 6 #define COMPONENTS_USER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ | 6 #define SERVICES_PREFERENCES_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/user_prefs/tracked/hash_store_contents.h" | 9 #include "services/preferences/tracked/hash_store_contents.h" |
| 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 namespace user_prefs { | 16 namespace user_prefs { |
| 17 class PrefRegistrySyncable; | 17 class PrefRegistrySyncable; |
| 18 } // namespace user_prefs | 18 } // namespace user_prefs |
| 19 | 19 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 private: | 52 private: |
| 53 base::DictionaryValue* storage_; | 53 base::DictionaryValue* storage_; |
| 54 | 54 |
| 55 // Helper function to get a mutable version of the macs from |storage_|, | 55 // Helper function to get a mutable version of the macs from |storage_|, |
| 56 // creating it if needed and |create_if_null| is true. | 56 // creating it if needed and |create_if_null| is true. |
| 57 base::DictionaryValue* GetMutableContents(bool create_if_null); | 57 base::DictionaryValue* GetMutableContents(bool create_if_null); |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(DictionaryHashStoreContents); | 59 DISALLOW_COPY_AND_ASSIGN(DictionaryHashStoreContents); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // COMPONENTS_USER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ | 62 #endif // SERVICES_PREFERENCES_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ |
| OLD | NEW |