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 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 23 matching lines...) Expand all Loading... |
34 namespace component_updater { | 34 namespace component_updater { |
35 class ComponentUpdateService; | 35 class ComponentUpdateService; |
36 } | 36 } |
37 | 37 |
38 namespace domain_reliability { | 38 namespace domain_reliability { |
39 class DomainReliabilityServiceFactory; | 39 class DomainReliabilityServiceFactory; |
40 } | 40 } |
41 | 41 |
42 namespace extensions { | 42 namespace extensions { |
43 class ChromeExtensionWebContentsObserver; | 43 class ChromeExtensionWebContentsObserver; |
| 44 class ChromeMetricsPrivateDelegate; |
44 class FileManagerPrivateIsUMAEnabledFunction; | 45 class FileManagerPrivateIsUMAEnabledFunction; |
45 class MetricsPrivateGetIsCrashReportingEnabledFunction; | |
46 } | 46 } |
47 | 47 |
48 namespace options { | 48 namespace options { |
49 class BrowserOptionsHandler; | 49 class BrowserOptionsHandler; |
50 } | 50 } |
51 | 51 |
52 namespace prerender { | 52 namespace prerender { |
53 bool IsOmniboxEnabled(Profile* profile); | 53 bool IsOmniboxEnabled(Profile* profile); |
54 } | 54 } |
55 | 55 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 friend class BrowserProcessImpl; | 94 friend class BrowserProcessImpl; |
95 friend void chrome::AttemptRestart(); | 95 friend void chrome::AttemptRestart(); |
96 friend class chrome::android::ExternalDataUseObserverBridge; | 96 friend class chrome::android::ExternalDataUseObserverBridge; |
97 // For StackSamplingConfiguration. | 97 // For StackSamplingConfiguration. |
98 friend class ChromeBrowserMainParts; | 98 friend class ChromeBrowserMainParts; |
99 friend class ChromeMetricsServicesManagerClient; | 99 friend class ChromeMetricsServicesManagerClient; |
100 friend class ChromeRenderMessageFilter; | 100 friend class ChromeRenderMessageFilter; |
101 friend class DataReductionProxyChromeSettings; | 101 friend class DataReductionProxyChromeSettings; |
102 friend class domain_reliability::DomainReliabilityServiceFactory; | 102 friend class domain_reliability::DomainReliabilityServiceFactory; |
103 friend class extensions::ChromeExtensionWebContentsObserver; | 103 friend class extensions::ChromeExtensionWebContentsObserver; |
| 104 friend class extensions::ChromeMetricsPrivateDelegate; |
104 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; | 105 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; |
105 friend class extensions::MetricsPrivateGetIsCrashReportingEnabledFunction; | |
106 friend void ChangeMetricsReportingStateWithReply( | 106 friend void ChangeMetricsReportingStateWithReply( |
107 bool, | 107 bool, |
108 const OnMetricsReportingCallbackType&); | 108 const OnMetricsReportingCallbackType&); |
109 friend class options::BrowserOptionsHandler; | 109 friend class options::BrowserOptionsHandler; |
110 friend bool prerender::IsOmniboxEnabled(Profile* profile); | 110 friend bool prerender::IsOmniboxEnabled(Profile* profile); |
111 friend class settings::MetricsReportingHandler; | 111 friend class settings::MetricsReportingHandler; |
112 friend class speech::ChromeSpeechRecognitionManagerDelegate; | 112 friend class speech::ChromeSpeechRecognitionManagerDelegate; |
113 friend class system_logs::ChromeInternalLogSource; | 113 friend class system_logs::ChromeInternalLogSource; |
114 friend class UmaSessionStats; | 114 friend class UmaSessionStats; |
115 friend class safe_browsing::DownloadSBClient; | 115 friend class safe_browsing::DownloadSBClient; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // with g_browser_process->metrics_service(). See that function's declaration | 149 // with g_browser_process->metrics_service(). See that function's declaration |
150 // for details. | 150 // for details. |
151 static bool RegisterSyntheticFieldTrialWithNameHash( | 151 static bool RegisterSyntheticFieldTrialWithNameHash( |
152 uint32_t trial_name_hash, | 152 uint32_t trial_name_hash, |
153 const std::string& group_name); | 153 const std::string& group_name); |
154 | 154 |
155 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); | 155 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); |
156 }; | 156 }; |
157 | 157 |
158 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 158 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
OLD | NEW |