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 CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ |
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ | 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // MetricsService. Has the same lifetime as |metrics_service_|. | 161 // MetricsService. Has the same lifetime as |metrics_service_|. |
162 PluginMetricsProvider* plugin_metrics_provider_; | 162 PluginMetricsProvider* plugin_metrics_provider_; |
163 #endif | 163 #endif |
164 | 164 |
165 #if defined(OS_WIN) | 165 #if defined(OS_WIN) |
166 // The GoogleUpdateMetricsProviderWin instance that was registered with | 166 // The GoogleUpdateMetricsProviderWin instance that was registered with |
167 // MetricsService. Has the same lifetime as |metrics_service_|. | 167 // MetricsService. Has the same lifetime as |metrics_service_|. |
168 GoogleUpdateMetricsProviderWin* google_update_metrics_provider_; | 168 GoogleUpdateMetricsProviderWin* google_update_metrics_provider_; |
169 #endif | 169 #endif |
170 | 170 |
171 #if !defined(OS_CHROMEOS) && !defined(OS_IOS) | |
172 // The SigninStatusMetricsProvider instance that was registered with | |
173 // MetricsService. Has the same lifetime as |metrics_service_|. | |
174 SigninStatusMetricsProvider* signin_status_metrics_provider_; | |
175 #endif | |
176 | |
177 // Callback that is called when initial metrics gathering is complete. | 171 // Callback that is called when initial metrics gathering is complete. |
178 base::Closure finished_gathering_initial_metrics_callback_; | 172 base::Closure finished_gathering_initial_metrics_callback_; |
179 | 173 |
180 // The MemoryGrowthTracker instance that tracks memory usage growth in | 174 // The MemoryGrowthTracker instance that tracks memory usage growth in |
181 // MemoryDetails. | 175 // MemoryDetails. |
182 MemoryGrowthTracker memory_growth_tracker_; | 176 MemoryGrowthTracker memory_growth_tracker_; |
183 | 177 |
184 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; | 178 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; |
185 | 179 |
186 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); | 180 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); |
187 }; | 181 }; |
188 | 182 |
189 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ | 183 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ |
OLD | NEW |