Chromium Code Reviews| 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 | |
| 125 #if defined(ENABLE_DCHECK) | |
|
Bernhard Bauer
2013/11/22 09:55:03
Does this work? It seems ENABLE_DCHECK is #undef'd
gab
2013/11/22 21:05:13
Ah, good point... I think
#if !defined(NDEBUG) ||
Bernhard Bauer
2013/11/22 21:53:55
I think what we should do is add a #define for thi
| |
| 124 bool checked_tracked_prefs_; | 126 bool checked_tracked_prefs_; |
| 127 #endif | |
| 125 | 128 |
| 126 PrefChangeRegistrar pref_registrar_; | 129 PrefChangeRegistrar pref_registrar_; |
| 127 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; | 130 scoped_ptr<SyncedPrefChangeRegistrar> synced_pref_change_registrar_; |
| 128 | 131 |
| 129 base::WeakPtrFactory<PrefMetricsService> weak_factory_; | 132 base::WeakPtrFactory<PrefMetricsService> weak_factory_; |
| 130 | 133 |
| 131 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); | 134 DISALLOW_COPY_AND_ASSIGN(PrefMetricsService); |
| 132 }; | 135 }; |
| 133 | 136 |
| 134 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ | 137 #endif // CHROME_BROWSER_PREFS_PREF_METRICS_SERVICE_H_ |
| OLD | NEW |