OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PREF_HASH_FILTER_H_ | 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_ |
6 #define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_ | 6 #define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/basictypes.h" | |
13 #include "base/callback.h" | 14 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
15 #include "base/containers/scoped_ptr_hash_map.h" | 16 #include "base/containers/scoped_ptr_hash_map.h" |
| 17 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
17 #include "components/user_prefs/tracked/interceptable_pref_filter.h" | 19 #include "components/user_prefs/tracked/interceptable_pref_filter.h" |
18 #include "components/user_prefs/tracked/tracked_preference.h" | 20 #include "components/user_prefs/tracked/tracked_preference.h" |
19 | 21 |
20 class PrefHashStore; | 22 class PrefHashStore; |
21 class PrefService; | 23 class PrefService; |
22 class PrefStore; | 24 class PrefStore; |
23 class TrackedPreferenceValidationDelegate; | 25 class TrackedPreferenceValidationDelegate; |
24 | 26 |
25 namespace base { | 27 namespace base { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // FilterSerializeData. | 134 // FilterSerializeData. |
133 ChangedPathsMap changed_paths_; | 135 ChangedPathsMap changed_paths_; |
134 | 136 |
135 // Whether to report the validity of the super MAC at load time (via UMA). | 137 // Whether to report the validity of the super MAC at load time (via UMA). |
136 bool report_super_mac_validity_; | 138 bool report_super_mac_validity_; |
137 | 139 |
138 DISALLOW_COPY_AND_ASSIGN(PrefHashFilter); | 140 DISALLOW_COPY_AND_ASSIGN(PrefHashFilter); |
139 }; | 141 }; |
140 | 142 |
141 #endif // COMPONENTS_PREFS_TRACKED_PREF_HASH_FILTER_H_ | 143 #endif // COMPONENTS_PREFS_TRACKED_PREF_HASH_FILTER_H_ |
OLD | NEW |