| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void InitializePrefObservers(); | 118 void InitializePrefObservers(); |
| 119 | 119 |
| 120 Profile* profile_; | 120 Profile* profile_; |
| 121 PrefService* prefs_; | 121 PrefService* prefs_; |
| 122 PrefService* local_state_; | 122 PrefService* local_state_; |
| 123 std::string profile_name_; | 123 std::string profile_name_; |
| 124 std::string pref_hash_seed_; | 124 std::string pref_hash_seed_; |
| 125 std::string device_id_; | 125 std::string device_id_; |
| 126 const char** tracked_pref_paths_; | 126 const char** tracked_pref_paths_; |
| 127 const int tracked_pref_path_count_; | 127 const int tracked_pref_path_count_; |
| 128 |
| 129 // TODO(gab): preprocessor define this member out on builds that don't use |
| 130 // DCHECKs (http://crbug.com/322713). |
| 128 bool checked_tracked_prefs_; | 131 bool checked_tracked_prefs_; |
| 129 | 132 |
| 130 PrefChangeRegistrar pref_registrar_; | 133 PrefChangeRegistrar pref_registrar_; |
| 131 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; | 134 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; |
| 132 | 135 |
| 133 base::WeakPtrFactory<PrefMetricsService> weak_factory_; | 136 base::WeakPtrFactory<PrefMetricsService> weak_factory_; |
| 134 | 137 |
| 135 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); | 138 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); |
| 136 }; | 139 }; |
| 137 | 140 |
| 138 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ | 141 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ |
| OLD | NEW |