OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "ios/chrome/browser/metrics/ios_chrome_metrics_service_client.h" | 5 #include "ios/chrome/browser/metrics/ios_chrome_metrics_service_client.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "components/metrics/net/version_utils.h" | 32 #include "components/metrics/net/version_utils.h" |
33 #include "components/metrics/profiler/profiler_metrics_provider.h" | 33 #include "components/metrics/profiler/profiler_metrics_provider.h" |
34 #include "components/metrics/profiler/tracking_synchronizer.h" | 34 #include "components/metrics/profiler/tracking_synchronizer.h" |
35 #include "components/metrics/stability_metrics_helper.h" | 35 #include "components/metrics/stability_metrics_helper.h" |
36 #include "components/metrics/ui/screen_info_metrics_provider.h" | 36 #include "components/metrics/ui/screen_info_metrics_provider.h" |
37 #include "components/metrics/url_constants.h" | 37 #include "components/metrics/url_constants.h" |
38 #include "components/omnibox/browser/omnibox_metrics_provider.h" | 38 #include "components/omnibox/browser/omnibox_metrics_provider.h" |
39 #include "components/prefs/pref_registry_simple.h" | 39 #include "components/prefs/pref_registry_simple.h" |
40 #include "components/prefs/pref_service.h" | 40 #include "components/prefs/pref_service.h" |
41 #include "components/signin/core/browser/signin_status_metrics_provider.h" | 41 #include "components/signin/core/browser/signin_status_metrics_provider.h" |
42 #include "components/sync_driver/device_count_metrics_provider.h" | 42 #include "components/sync/driver/device_count_metrics_provider.h" |
43 #include "components/variations/variations_associated_data.h" | 43 #include "components/variations/variations_associated_data.h" |
44 #include "components/version_info/version_info.h" | 44 #include "components/version_info/version_info.h" |
45 #include "ios/chrome/browser/application_context.h" | 45 #include "ios/chrome/browser/application_context.h" |
46 #include "ios/chrome/browser/chrome_paths.h" | 46 #include "ios/chrome/browser/chrome_paths.h" |
47 #include "ios/chrome/browser/google/google_brand.h" | 47 #include "ios/chrome/browser/google/google_brand.h" |
48 #include "ios/chrome/browser/metrics/ios_chrome_stability_metrics_provider.h" | 48 #include "ios/chrome/browser/metrics/ios_chrome_stability_metrics_provider.h" |
49 #include "ios/chrome/browser/metrics/mobile_session_shutdown_metrics_provider.h" | 49 #include "ios/chrome/browser/metrics/mobile_session_shutdown_metrics_provider.h" |
50 #include "ios/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_de
legate.h" | 50 #include "ios/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_de
legate.h" |
51 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h" | 51 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h" |
52 #include "ios/chrome/browser/tab_parenting_global_observer.h" | 52 #include "ios/chrome/browser/tab_parenting_global_observer.h" |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 315 |
316 void IOSChromeMetricsServiceClient::OnURLOpenedFromOmnibox(OmniboxLog* log) { | 316 void IOSChromeMetricsServiceClient::OnURLOpenedFromOmnibox(OmniboxLog* log) { |
317 metrics_service_->OnApplicationNotIdle(); | 317 metrics_service_->OnApplicationNotIdle(); |
318 } | 318 } |
319 | 319 |
320 metrics::EnableMetricsDefault | 320 metrics::EnableMetricsDefault |
321 IOSChromeMetricsServiceClient::GetMetricsReportingDefaultState() { | 321 IOSChromeMetricsServiceClient::GetMetricsReportingDefaultState() { |
322 return metrics::GetMetricsReportingDefaultState( | 322 return metrics::GetMetricsReportingDefaultState( |
323 GetApplicationContext()->GetLocalState()); | 323 GetApplicationContext()->GetLocalState()); |
324 } | 324 } |
OLD | NEW |