| 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_ATOMIC_PREFERENCE_H_ | 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_ATOMIC_PREFERENCE_H_ | 
| 6 #define COMPONENTS_USER_PREFS_TRACKED_ATOMIC_PREFERENCE_H_ | 6 #define COMPONENTS_USER_PREFS_TRACKED_ATOMIC_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 17 matching lines...) Expand all  Loading... | 
| 35 | 37 | 
| 36  private: | 38  private: | 
| 37   const std::string pref_path_; | 39   const std::string pref_path_; | 
| 38   const TrackedPreferenceHelper helper_; | 40   const TrackedPreferenceHelper helper_; | 
| 39   TrackedPreferenceValidationDelegate* delegate_; | 41   TrackedPreferenceValidationDelegate* delegate_; | 
| 40 | 42 | 
| 41   DISALLOW_COPY_AND_ASSIGN(TrackedAtomicPreference); | 43   DISALLOW_COPY_AND_ASSIGN(TrackedAtomicPreference); | 
| 42 }; | 44 }; | 
| 43 | 45 | 
| 44 #endif  // COMPONENTS_USER_PREFS_TRACKED_ATOMIC_PREFERENCE_H_ | 46 #endif  // COMPONENTS_USER_PREFS_TRACKED_ATOMIC_PREFERENCE_H_ | 
| OLD | NEW | 
|---|