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 // This file defines a service that collects information about the user | 5 // This file defines a service that collects information about the user |
6 // experience in order to help improve future versions of the app. | 6 // experience in order to help improve future versions of the app. |
7 | 7 |
8 #ifndef COMPONENTS_METRICS_METRICS_SERVICE_H_ | 8 #ifndef COMPONENTS_METRICS_METRICS_SERVICE_H_ |
9 #define COMPONENTS_METRICS_METRICS_SERVICE_H_ | 9 #define COMPONENTS_METRICS_METRICS_SERVICE_H_ |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "components/metrics/net/network_metrics_provider.h" | 30 #include "components/metrics/net/network_metrics_provider.h" |
31 #include "components/variations/active_field_trials.h" | 31 #include "components/variations/active_field_trials.h" |
32 | 32 |
33 class MetricsServiceAccessor; | 33 class MetricsServiceAccessor; |
34 class PrefService; | 34 class PrefService; |
35 class PrefRegistrySimple; | 35 class PrefRegistrySimple; |
36 | 36 |
37 namespace base { | 37 namespace base { |
38 class DictionaryValue; | 38 class DictionaryValue; |
39 class HistogramSamples; | 39 class HistogramSamples; |
40 class MessageLoopProxy; | |
41 class PrefService; | 40 class PrefService; |
42 } | 41 } |
43 | 42 |
44 namespace variations { | 43 namespace variations { |
45 struct ActiveGroupId; | 44 struct ActiveGroupId; |
46 } | 45 } |
47 | 46 |
48 namespace net { | 47 namespace net { |
49 class URLFetcher; | 48 class URLFetcher; |
50 } | 49 } |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 // Weak pointers factory used for saving state. All weak pointers managed by | 495 // Weak pointers factory used for saving state. All weak pointers managed by |
497 // this factory are invalidated in ScheduleNextStateSave. | 496 // this factory are invalidated in ScheduleNextStateSave. |
498 base::WeakPtrFactory<MetricsService> state_saver_factory_; | 497 base::WeakPtrFactory<MetricsService> state_saver_factory_; |
499 | 498 |
500 DISALLOW_COPY_AND_ASSIGN(MetricsService); | 499 DISALLOW_COPY_AND_ASSIGN(MetricsService); |
501 }; | 500 }; |
502 | 501 |
503 } // namespace metrics | 502 } // namespace metrics |
504 | 503 |
505 #endif // COMPONENTS_METRICS_METRICS_SERVICE_H_ | 504 #endif // COMPONENTS_METRICS_METRICS_SERVICE_H_ |
OLD | NEW |