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" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
15 #include "chrome/browser/memory_details.h" | 15 #include "chrome/browser/metrics/metrics_memory_details.h" |
16 #include "chrome/browser/metrics/network_stats_uploader.h" | 16 #include "chrome/browser/metrics/network_stats_uploader.h" |
17 #include "components/metrics/metrics_service_client.h" | 17 #include "components/metrics/metrics_service_client.h" |
18 #include "components/metrics/profiler/tracking_synchronizer_observer.h" | 18 #include "components/metrics/profiler/tracking_synchronizer_observer.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 | 21 |
22 class ChromeOSMetricsProvider; | 22 class ChromeOSMetricsProvider; |
23 class GoogleUpdateMetricsProviderWin; | 23 class GoogleUpdateMetricsProviderWin; |
24 class PluginMetricsProvider; | 24 class PluginMetricsProvider; |
25 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // The MemoryGrowthTracker instance that tracks memory usage growth in | 172 // The MemoryGrowthTracker instance that tracks memory usage growth in |
173 // MemoryDetails. | 173 // MemoryDetails. |
174 MemoryGrowthTracker memory_growth_tracker_; | 174 MemoryGrowthTracker memory_growth_tracker_; |
175 | 175 |
176 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; | 176 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); | 178 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); |
179 }; | 179 }; |
180 | 180 |
181 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ | 181 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ |
OLD | NEW |