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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 friend class BrowserProcessImpl; | 93 friend class BrowserProcessImpl; |
94 friend void chrome::AttemptRestart(); | 94 friend void chrome::AttemptRestart(); |
95 friend class chrome::android::ExternalDataUseObserverBridge; | 95 friend class chrome::android::ExternalDataUseObserverBridge; |
96 // For StackSamplingConfiguration. | 96 // For StackSamplingConfiguration. |
97 friend class ChromeBrowserMainParts; | 97 friend class ChromeBrowserMainParts; |
98 friend class ChromeMetricsServicesManagerClient; | 98 friend class ChromeMetricsServicesManagerClient; |
99 friend class ChromeRenderMessageFilter; | 99 friend class ChromeRenderMessageFilter; |
100 friend class DataReductionProxyChromeSettings; | 100 friend class DataReductionProxyChromeSettings; |
101 friend class domain_reliability::DomainReliabilityServiceFactory; | 101 friend class domain_reliability::DomainReliabilityServiceFactory; |
102 friend class extensions::ChromeExtensionWebContentsObserver; | 102 friend class extensions::ChromeExtensionWebContentsObserver; |
| 103 friend class extensions::ChromeMetricsPrivateDelegate; |
103 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; | 104 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; |
104 friend class extensions::MetricsPrivateGetIsCrashReportingEnabledFunction; | |
105 friend void ChangeMetricsReportingStateWithReply( | 105 friend void ChangeMetricsReportingStateWithReply( |
106 bool, | 106 bool, |
107 const OnMetricsReportingCallbackType&); | 107 const OnMetricsReportingCallbackType&); |
108 friend class options::BrowserOptionsHandler; | 108 friend class options::BrowserOptionsHandler; |
109 friend bool prerender::IsOmniboxEnabled(Profile* profile); | 109 friend bool prerender::IsOmniboxEnabled(Profile* profile); |
110 friend class safe_browsing::IncidentReportingService; | 110 friend class safe_browsing::IncidentReportingService; |
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; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // with g_browser_process->metrics_service(). See that function's declaration | 147 // with g_browser_process->metrics_service(). See that function's declaration |
148 // for details. | 148 // for details. |
149 static bool RegisterSyntheticFieldTrialWithNameHash( | 149 static bool RegisterSyntheticFieldTrialWithNameHash( |
150 uint32_t trial_name_hash, | 150 uint32_t trial_name_hash, |
151 const std::string& group_name); | 151 const std::string& group_name); |
152 | 152 |
153 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); | 153 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); |
154 }; | 154 }; |
155 | 155 |
156 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 156 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
OLD | NEW |