Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_client.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "chrome/browser/metrics/chrome_metrics_service_client.h" 5 #include "chrome/browser/metrics/chrome_metrics_service_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "components/metrics/net/network_metrics_provider.h" 54 #include "components/metrics/net/network_metrics_provider.h"
55 #include "components/metrics/net/version_utils.h" 55 #include "components/metrics/net/version_utils.h"
56 #include "components/metrics/profiler/profiler_metrics_provider.h" 56 #include "components/metrics/profiler/profiler_metrics_provider.h"
57 #include "components/metrics/profiler/tracking_synchronizer.h" 57 #include "components/metrics/profiler/tracking_synchronizer.h"
58 #include "components/metrics/stability_metrics_helper.h" 58 #include "components/metrics/stability_metrics_helper.h"
59 #include "components/metrics/ui/screen_info_metrics_provider.h" 59 #include "components/metrics/ui/screen_info_metrics_provider.h"
60 #include "components/metrics/url_constants.h" 60 #include "components/metrics/url_constants.h"
61 #include "components/omnibox/browser/omnibox_metrics_provider.h" 61 #include "components/omnibox/browser/omnibox_metrics_provider.h"
62 #include "components/prefs/pref_registry_simple.h" 62 #include "components/prefs/pref_registry_simple.h"
63 #include "components/prefs/pref_service.h" 63 #include "components/prefs/pref_service.h"
64 #include "components/sync_driver/device_count_metrics_provider.h" 64 #include "components/sync/driver/device_count_metrics_provider.h"
65 #include "components/version_info/version_info.h" 65 #include "components/version_info/version_info.h"
66 #include "content/public/browser/browser_thread.h" 66 #include "content/public/browser/browser_thread.h"
67 #include "content/public/browser/histogram_fetcher.h" 67 #include "content/public/browser/histogram_fetcher.h"
68 #include "content/public/browser/notification_service.h" 68 #include "content/public/browser/notification_service.h"
69 69
70 #if BUILDFLAG(ANDROID_JAVA_UI) 70 #if BUILDFLAG(ANDROID_JAVA_UI)
71 #include "chrome/browser/metrics/android_metrics_provider.h" 71 #include "chrome/browser/metrics/android_metrics_provider.h"
72 #include "chrome/browser/metrics/page_load_metrics_provider.h" 72 #include "chrome/browser/metrics/page_load_metrics_provider.h"
73 #endif 73 #endif
74 74
75 #if defined(ENABLE_PRINT_PREVIEW) 75 #if defined(ENABLE_PRINT_PREVIEW)
76 #include "chrome/browser/service_process/service_process_control.h" 76 #include "chrome/browser/service_process/service_process_control.h"
77 #endif 77 #endif
78 78
79 #if defined(ENABLE_EXTENSIONS) 79 #if defined(ENABLE_EXTENSIONS)
80 #include "chrome/browser/metrics/extensions_metrics_provider.h" 80 #include "chrome/browser/metrics/extensions_metrics_provider.h"
81 #endif 81 #endif
82 82
83 #if defined(ENABLE_PLUGINS) 83 #if defined(ENABLE_PLUGINS)
84 #include "chrome/browser/metrics/plugin_metrics_provider.h" 84 #include "chrome/browser/metrics/plugin_metrics_provider.h"
85 #endif 85 #endif
86 86
87 #if defined(OS_CHROMEOS) 87 #if defined(OS_CHROMEOS)
88 #include "chrome/browser/metrics/chromeos_metrics_provider.h" 88 #include "chrome/browser/metrics/chromeos_metrics_provider.h"
89 #include "chrome/browser/signin/signin_status_metrics_provider_chromeos.h" 89 #include "chrome/browser/signin/signin_status_metrics_provider_chromeos.h"
90 #endif 90 #endif
91 91
92 #if defined(OS_WIN) 92 #if defined(OS_WIN)
93 #include <windows.h> 93 #include <windows.h>
94
94 #include "chrome/browser/metrics/antivirus_metrics_provider_win.h" 95 #include "chrome/browser/metrics/antivirus_metrics_provider_win.h"
95 #include "chrome/browser/metrics/google_update_metrics_provider_win.h" 96 #include "chrome/browser/metrics/google_update_metrics_provider_win.h"
96 #include "chrome/common/metrics_constants_util_win.h" 97 #include "chrome/common/metrics_constants_util_win.h"
97 #include "chrome/installer/util/browser_distribution.h" 98 #include "chrome/installer/util/browser_distribution.h"
98 #include "components/browser_watcher/watcher_metrics_provider_win.h" 99 #include "components/browser_watcher/watcher_metrics_provider_win.h"
99 #endif 100 #endif
100 101
101 #if !defined(OS_CHROMEOS) 102 #if !defined(OS_CHROMEOS)
102 #include "chrome/browser/signin/chrome_signin_status_metrics_provider_delegate.h " 103 #include "chrome/browser/signin/chrome_signin_status_metrics_provider_delegate.h "
103 #include "components/signin/core/browser/signin_status_metrics_provider.h" 104 #include "components/signin/core/browser/signin_status_metrics_provider.h"
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 } 793 }
793 } 794 }
794 795
795 void ChromeMetricsServiceClient::OnURLOpenedFromOmnibox(OmniboxLog* log) { 796 void ChromeMetricsServiceClient::OnURLOpenedFromOmnibox(OmniboxLog* log) {
796 metrics_service_->OnApplicationNotIdle(); 797 metrics_service_->OnApplicationNotIdle();
797 } 798 }
798 799
799 bool ChromeMetricsServiceClient::IsUMACellularUploadLogicEnabled() { 800 bool ChromeMetricsServiceClient::IsUMACellularUploadLogicEnabled() {
800 return metrics::IsCellularLogicEnabled(); 801 return metrics::IsCellularLogicEnabled();
801 } 802 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698