| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 friend class ::FlashDOMHandler; | 91 friend class ::FlashDOMHandler; |
| 92 friend class ArcSupportHost; | 92 friend class ArcSupportHost; |
| 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 friend class ChromeMetricsServicesManagerClient; | 96 friend class ChromeMetricsServicesManagerClient; |
| 97 friend class ChromeRenderMessageFilter; | 97 friend class ChromeRenderMessageFilter; |
| 98 friend class DataReductionProxyChromeSettings; | 98 friend class DataReductionProxyChromeSettings; |
| 99 friend class domain_reliability::DomainReliabilityServiceFactory; | 99 friend class domain_reliability::DomainReliabilityServiceFactory; |
| 100 friend class extensions::ChromeExtensionWebContentsObserver; | 100 friend class extensions::ChromeExtensionWebContentsObserver; |
| 101 friend class extensions::ChromeMetricsPrivateDelegate; |
| 101 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; | 102 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; |
| 102 friend class extensions::MetricsPrivateGetIsCrashReportingEnabledFunction; | |
| 103 friend void ChangeMetricsReportingStateWithReply( | 103 friend void ChangeMetricsReportingStateWithReply( |
| 104 bool, | 104 bool, |
| 105 const OnMetricsReportingCallbackType&); | 105 const OnMetricsReportingCallbackType&); |
| 106 friend class options::BrowserOptionsHandler; | 106 friend class options::BrowserOptionsHandler; |
| 107 friend bool prerender::IsOmniboxEnabled(Profile* profile); | 107 friend bool prerender::IsOmniboxEnabled(Profile* profile); |
| 108 friend class safe_browsing::IncidentReportingService; | 108 friend class safe_browsing::IncidentReportingService; |
| 109 friend class settings::MetricsReportingHandler; | 109 friend class settings::MetricsReportingHandler; |
| 110 friend class speech::ChromeSpeechRecognitionManagerDelegate; | 110 friend class speech::ChromeSpeechRecognitionManagerDelegate; |
| 111 friend class StackSamplingConfiguration; | 111 friend class StackSamplingConfiguration; |
| 112 friend class system_logs::ChromeInternalLogSource; | 112 friend class system_logs::ChromeInternalLogSource; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // with g_browser_process->metrics_service(). See that function's declaration | 146 // with g_browser_process->metrics_service(). See that function's declaration |
| 147 // for details. | 147 // for details. |
| 148 static bool RegisterSyntheticFieldTrialWithNameHash( | 148 static bool RegisterSyntheticFieldTrialWithNameHash( |
| 149 uint32_t trial_name_hash, | 149 uint32_t trial_name_hash, |
| 150 const std::string& group_name); | 150 const std::string& group_name); |
| 151 | 151 |
| 152 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); | 152 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 155 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
| OLD | NEW |