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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 namespace extensions { | 42 namespace extensions { |
43 class ChromeExtensionWebContentsObserver; | 43 class ChromeExtensionWebContentsObserver; |
44 class ChromeMetricsPrivateDelegate; | 44 class ChromeMetricsPrivateDelegate; |
45 class FileManagerPrivateIsUMAEnabledFunction; | 45 class FileManagerPrivateIsUMAEnabledFunction; |
46 } | 46 } |
47 | 47 |
48 namespace options { | 48 namespace options { |
49 class BrowserOptionsHandler; | 49 class BrowserOptionsHandler; |
50 } | 50 } |
51 | 51 |
| 52 namespace precache { |
| 53 void RegisterPrecacheSyntheticFieldTrial(base::Time); |
| 54 } |
| 55 |
52 namespace prerender { | 56 namespace prerender { |
53 bool IsOmniboxEnabled(Profile* profile); | 57 bool IsOmniboxEnabled(Profile* profile); |
54 } | 58 } |
55 | 59 |
56 namespace safe_browsing { | 60 namespace safe_browsing { |
57 class DownloadSBClient; | 61 class DownloadSBClient; |
58 class IncidentReportingService; | 62 class IncidentReportingService; |
59 class ReporterRunner; | 63 class ReporterRunner; |
60 class SafeBrowsingService; | 64 class SafeBrowsingService; |
61 class SafeBrowsingUIManager; | 65 class SafeBrowsingUIManager; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 friend class ChromeRenderMessageFilter; | 104 friend class ChromeRenderMessageFilter; |
101 friend class DataReductionProxyChromeSettings; | 105 friend class DataReductionProxyChromeSettings; |
102 friend class domain_reliability::DomainReliabilityServiceFactory; | 106 friend class domain_reliability::DomainReliabilityServiceFactory; |
103 friend class extensions::ChromeExtensionWebContentsObserver; | 107 friend class extensions::ChromeExtensionWebContentsObserver; |
104 friend class extensions::ChromeMetricsPrivateDelegate; | 108 friend class extensions::ChromeMetricsPrivateDelegate; |
105 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; | 109 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; |
106 friend void ChangeMetricsReportingStateWithReply( | 110 friend void ChangeMetricsReportingStateWithReply( |
107 bool, | 111 bool, |
108 const OnMetricsReportingCallbackType&); | 112 const OnMetricsReportingCallbackType&); |
109 friend class options::BrowserOptionsHandler; | 113 friend class options::BrowserOptionsHandler; |
| 114 friend void precache::RegisterPrecacheSyntheticFieldTrial(base::Time); |
110 friend bool prerender::IsOmniboxEnabled(Profile* profile); | 115 friend bool prerender::IsOmniboxEnabled(Profile* profile); |
111 friend class settings::MetricsReportingHandler; | 116 friend class settings::MetricsReportingHandler; |
112 friend class speech::ChromeSpeechRecognitionManagerDelegate; | 117 friend class speech::ChromeSpeechRecognitionManagerDelegate; |
113 friend class system_logs::ChromeInternalLogSource; | 118 friend class system_logs::ChromeInternalLogSource; |
114 friend class UmaSessionStats; | 119 friend class UmaSessionStats; |
115 friend class safe_browsing::DownloadSBClient; | 120 friend class safe_browsing::DownloadSBClient; |
116 friend class safe_browsing::IncidentReportingService; | 121 friend class safe_browsing::IncidentReportingService; |
117 friend class safe_browsing::ReporterRunner; | 122 friend class safe_browsing::ReporterRunner; |
118 friend class safe_browsing::SRTFetcher; | 123 friend class safe_browsing::SRTFetcher; |
119 friend class safe_browsing::SRTGlobalError; | 124 friend class safe_browsing::SRTGlobalError; |
(...skipping 29 matching lines...) Expand all Loading... |
149 // with g_browser_process->metrics_service(). See that function's declaration | 154 // with g_browser_process->metrics_service(). See that function's declaration |
150 // for details. | 155 // for details. |
151 static bool RegisterSyntheticFieldTrialWithNameHash( | 156 static bool RegisterSyntheticFieldTrialWithNameHash( |
152 uint32_t trial_name_hash, | 157 uint32_t trial_name_hash, |
153 const std::string& group_name); | 158 const std::string& group_name); |
154 | 159 |
155 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); | 160 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); |
156 }; | 161 }; |
157 | 162 |
158 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ | 163 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ |
OLD | NEW |