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 CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 void InitializePrefObservers(); | 114 void InitializePrefObservers(); |
115 | 115 |
116 Profile* profile_; | 116 Profile* profile_; |
117 PrefService* prefs_; | 117 PrefService* prefs_; |
118 PrefService* local_state_; | 118 PrefService* local_state_; |
119 std::string profile_name_; | 119 std::string profile_name_; |
120 std::string pref_hash_seed_; | 120 std::string pref_hash_seed_; |
121 std::string device_id_; | 121 std::string device_id_; |
122 const char** tracked_pref_paths_; | 122 const char** tracked_pref_paths_; |
123 const int tracked_pref_path_count_; | 123 const int tracked_pref_path_count_; |
124 bool checked_tracked_prefs_; | |
125 | 124 |
126 PrefChangeRegistrar pref_registrar_; | 125 PrefChangeRegistrar pref_registrar_; |
127 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; | 126 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; |
128 | 127 |
129 base::WeakPtrFactory<PrefMetricsService> weak_factory_; | 128 base::WeakPtrFactory<PrefMetricsService> weak_factory_; |
130 | 129 |
131 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); | 130 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); |
132 }; | 131 }; |
133 | 132 |
134 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ | 133 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ |
OLD | NEW |