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 #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 <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "chrome/browser/ui/browser_otr_state.h" | 50 #include "chrome/browser/ui/browser_otr_state.h" |
51 #include "chrome/common/channel_info.h" | 51 #include "chrome/common/channel_info.h" |
52 #include "chrome/common/chrome_paths.h" | 52 #include "chrome/common/chrome_paths.h" |
53 #include "chrome/common/chrome_paths_internal.h" | 53 #include "chrome/common/chrome_paths_internal.h" |
54 #include "chrome/common/chrome_switches.h" | 54 #include "chrome/common/chrome_switches.h" |
55 #include "chrome/common/crash_keys.h" | 55 #include "chrome/common/crash_keys.h" |
56 #include "chrome/common/features.h" | 56 #include "chrome/common/features.h" |
57 #include "chrome/common/pref_names.h" | 57 #include "chrome/common/pref_names.h" |
58 #include "chrome/installer/util/util_constants.h" | 58 #include "chrome/installer/util/util_constants.h" |
59 #include "components/browser_sync/profile_sync_service.h" | 59 #include "components/browser_sync/profile_sync_service.h" |
60 #include "components/browser_watcher/stability_debugging.h" | 60 #include "components/browser_watcher/stability_paths.h" |
61 #include "components/history/core/browser/history_service.h" | 61 #include "components/history/core/browser/history_service.h" |
62 #include "components/metrics/call_stack_profile_metrics_provider.h" | 62 #include "components/metrics/call_stack_profile_metrics_provider.h" |
63 #include "components/metrics/drive_metrics_provider.h" | 63 #include "components/metrics/drive_metrics_provider.h" |
64 #include "components/metrics/file_metrics_provider.h" | 64 #include "components/metrics/file_metrics_provider.h" |
65 #include "components/metrics/gpu/gpu_metrics_provider.h" | 65 #include "components/metrics/gpu/gpu_metrics_provider.h" |
66 #include "components/metrics/metrics_log_uploader.h" | 66 #include "components/metrics/metrics_log_uploader.h" |
67 #include "components/metrics/metrics_pref_names.h" | 67 #include "components/metrics/metrics_pref_names.h" |
68 #include "components/metrics/metrics_reporting_default_state.h" | 68 #include "components/metrics/metrics_reporting_default_state.h" |
69 #include "components/metrics/metrics_service.h" | 69 #include "components/metrics/metrics_service.h" |
70 #include "components/metrics/metrics_service_client.h" | 70 #include "components/metrics/metrics_service_client.h" |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 ukm_service_->Purge(); | 981 ukm_service_->Purge(); |
982 ukm_service_->ResetClientId(); | 982 ukm_service_->ResetClientId(); |
983 } | 983 } |
984 // Signal service manager to enable/disable UKM based on new state. | 984 // Signal service manager to enable/disable UKM based on new state. |
985 UpdateRunningServices(); | 985 UpdateRunningServices(); |
986 } | 986 } |
987 | 987 |
988 bool ChromeMetricsServiceClient::IsHistorySyncEnabledOnAllProfiles() { | 988 bool ChromeMetricsServiceClient::IsHistorySyncEnabledOnAllProfiles() { |
989 return SyncDisableObserver::IsHistorySyncEnabledOnAllProfiles(); | 989 return SyncDisableObserver::IsHistorySyncEnabledOnAllProfiles(); |
990 } | 990 } |
OLD | NEW |