| 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_TRACKED_SPLIT_PREFERENCE_H_ | 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ |
| 6 #define COMPONENTS_USER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ | 6 #define COMPONENTS_USER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "components/user_prefs/tracked/pref_hash_filter.h" | 14 #include "components/user_prefs/tracked/pref_hash_filter.h" |
| 13 #include "components/user_prefs/tracked/tracked_preference.h" | 15 #include "components/user_prefs/tracked/tracked_preference.h" |
| 14 #include "components/user_prefs/tracked/tracked_preference_helper.h" | 16 #include "components/user_prefs/tracked/tracked_preference_helper.h" |
| 15 | 17 |
| 16 class TrackedPreferenceValidationDelegate; | 18 class TrackedPreferenceValidationDelegate; |
| 17 | 19 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 | 40 |
| 39 private: | 41 private: |
| 40 const std::string pref_path_; | 42 const std::string pref_path_; |
| 41 const TrackedPreferenceHelper helper_; | 43 const TrackedPreferenceHelper helper_; |
| 42 TrackedPreferenceValidationDelegate* delegate_; | 44 TrackedPreferenceValidationDelegate* delegate_; |
| 43 | 45 |
| 44 DISALLOW_COPY_AND_ASSIGN(TrackedSplitPreference); | 46 DISALLOW_COPY_AND_ASSIGN(TrackedSplitPreference); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 #endif // COMPONENTS_USER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ | 49 #endif // COMPONENTS_USER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ |
| OLD | NEW |