| 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 20 matching lines...) Expand all Loading... |
| 31 #include "components/metrics/metrics_log.h" | 31 #include "components/metrics/metrics_log.h" |
| 32 #include "components/metrics/metrics_log_manager.h" | 32 #include "components/metrics/metrics_log_manager.h" |
| 33 #include "components/metrics/metrics_provider.h" | 33 #include "components/metrics/metrics_provider.h" |
| 34 #include "components/metrics/net/network_metrics_provider.h" | 34 #include "components/metrics/net/network_metrics_provider.h" |
| 35 #include "components/variations/synthetic_trials.h" | 35 #include "components/variations/synthetic_trials.h" |
| 36 | 36 |
| 37 class PrefService; | 37 class PrefService; |
| 38 class PrefRegistrySimple; | 38 class PrefRegistrySimple; |
| 39 | 39 |
| 40 namespace base { | 40 namespace base { |
| 41 class DictionaryValue; | |
| 42 class HistogramSamples; | 41 class HistogramSamples; |
| 43 class PrefService; | 42 class PrefService; |
| 44 } | 43 } |
| 45 | 44 |
| 46 namespace variations { | 45 namespace variations { |
| 47 struct ActiveGroupId; | 46 struct ActiveGroupId; |
| 48 } | 47 } |
| 49 | 48 |
| 50 namespace net { | |
| 51 class URLFetcher; | |
| 52 } | |
| 53 | |
| 54 namespace metrics { | 49 namespace metrics { |
| 55 | 50 |
| 56 class MetricsLogUploader; | 51 class MetricsLogUploader; |
| 57 class MetricsReportingScheduler; | 52 class MetricsReportingScheduler; |
| 58 class MetricsServiceAccessor; | 53 class MetricsServiceAccessor; |
| 59 class MetricsServiceClient; | 54 class MetricsServiceClient; |
| 60 class MetricsStateManager; | 55 class MetricsStateManager; |
| 61 | 56 |
| 62 // See metrics_service.cc for a detailed description. | 57 // See metrics_service.cc for a detailed description. |
| 63 class MetricsService : public base::HistogramFlattener { | 58 class MetricsService : public base::HistogramFlattener { |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 // Weak pointers factory used for saving state. All weak pointers managed by | 490 // Weak pointers factory used for saving state. All weak pointers managed by |
| 496 // this factory are invalidated in ScheduleNextStateSave. | 491 // this factory are invalidated in ScheduleNextStateSave. |
| 497 base::WeakPtrFactory<MetricsService> state_saver_factory_; | 492 base::WeakPtrFactory<MetricsService> state_saver_factory_; |
| 498 | 493 |
| 499 DISALLOW_COPY_AND_ASSIGN(MetricsService); | 494 DISALLOW_COPY_AND_ASSIGN(MetricsService); |
| 500 }; | 495 }; |
| 501 | 496 |
| 502 } // namespace metrics | 497 } // namespace metrics |
| 503 | 498 |
| 504 #endif // COMPONENTS_METRICS_METRICS_SERVICE_H_ | 499 #endif // COMPONENTS_METRICS_METRICS_SERVICE_H_ |
| OLD | NEW |