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_SEGREGATED_PREF_STORE_H_ | 5 #ifndef SERVICES_PREFERENCES_TRACKED_SEGREGATED_PREF_STORE_H_ |
6 #define COMPONENTS_USER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_ | 6 #define SERVICES_PREFERENCES_TRACKED_SEGREGATED_PREF_STORE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 scoped_refptr<PersistentPrefStore> selected_pref_store_; | 105 scoped_refptr<PersistentPrefStore> selected_pref_store_; |
106 std::set<std::string> selected_preference_names_; | 106 std::set<std::string> selected_preference_names_; |
107 | 107 |
108 std::unique_ptr<PersistentPrefStore::ReadErrorDelegate> read_error_delegate_; | 108 std::unique_ptr<PersistentPrefStore::ReadErrorDelegate> read_error_delegate_; |
109 base::ObserverList<PrefStore::Observer, true> observers_; | 109 base::ObserverList<PrefStore::Observer, true> observers_; |
110 AggregatingObserver aggregating_observer_; | 110 AggregatingObserver aggregating_observer_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(SegregatedPrefStore); | 112 DISALLOW_COPY_AND_ASSIGN(SegregatedPrefStore); |
113 }; | 113 }; |
114 | 114 |
115 #endif // COMPONENTS_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_ | 115 #endif // SERVICES_PREFERENCES_TRACKED_SEGREGATED_PREF_STORE_H_ |
OLD | NEW |