Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_accessor.h

Issue 2233443002: MD Settings: implement metrics reporting checkbox on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop-uma
Patch Set: remove 2 using Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 namespace safe_browsing { 56 namespace safe_browsing {
57 class DownloadSBClient; 57 class DownloadSBClient;
58 class IncidentReportingService; 58 class IncidentReportingService;
59 class SafeBrowsingService; 59 class SafeBrowsingService;
60 class SafeBrowsingUIManager; 60 class SafeBrowsingUIManager;
61 class SRTFetcher; 61 class SRTFetcher;
62 class SRTGlobalError; 62 class SRTGlobalError;
63 } 63 }
64 64
65 namespace settings {
66 class MetricsReportingHandler;
67 }
68
65 namespace speech { 69 namespace speech {
66 class ChromeSpeechRecognitionManagerDelegate; 70 class ChromeSpeechRecognitionManagerDelegate;
67 } 71 }
68 72
69 namespace system_logs { 73 namespace system_logs {
70 class ChromeInternalLogSource; 74 class ChromeInternalLogSource;
71 } 75 }
72 76
73 // This class limits and documents access to metrics service helper methods. 77 // This class limits and documents access to metrics service helper methods.
74 // Since these methods are private, each user has to be explicitly declared 78 // Since these methods are private, each user has to be explicitly declared
(...skipping 12 matching lines...) Expand all
87 friend class domain_reliability::DomainReliabilityServiceFactory; 91 friend class domain_reliability::DomainReliabilityServiceFactory;
88 friend class extensions::ChromeExtensionWebContentsObserver; 92 friend class extensions::ChromeExtensionWebContentsObserver;
89 friend class extensions::FileManagerPrivateIsUMAEnabledFunction; 93 friend class extensions::FileManagerPrivateIsUMAEnabledFunction;
90 friend class extensions::MetricsPrivateGetIsCrashReportingEnabledFunction; 94 friend class extensions::MetricsPrivateGetIsCrashReportingEnabledFunction;
91 friend void ChangeMetricsReportingStateWithReply( 95 friend void ChangeMetricsReportingStateWithReply(
92 bool, 96 bool,
93 const OnMetricsReportingCallbackType&); 97 const OnMetricsReportingCallbackType&);
94 friend class options::BrowserOptionsHandler; 98 friend class options::BrowserOptionsHandler;
95 friend bool prerender::IsOmniboxEnabled(Profile* profile); 99 friend bool prerender::IsOmniboxEnabled(Profile* profile);
96 friend class safe_browsing::IncidentReportingService; 100 friend class safe_browsing::IncidentReportingService;
101 friend class settings::MetricsReportingHandler;
97 friend class speech::ChromeSpeechRecognitionManagerDelegate; 102 friend class speech::ChromeSpeechRecognitionManagerDelegate;
98 friend class StackSamplingConfiguration; 103 friend class StackSamplingConfiguration;
99 friend class system_logs::ChromeInternalLogSource; 104 friend class system_logs::ChromeInternalLogSource;
100 friend class UmaSessionStats; 105 friend class UmaSessionStats;
101 friend class safe_browsing::SRTFetcher; 106 friend class safe_browsing::SRTFetcher;
102 friend class safe_browsing::SRTGlobalError; 107 friend class safe_browsing::SRTGlobalError;
103 friend class safe_browsing::DownloadSBClient; 108 friend class safe_browsing::DownloadSBClient;
104 friend class safe_browsing::SafeBrowsingService; 109 friend class safe_browsing::SafeBrowsingService;
105 friend class safe_browsing::SafeBrowsingUIManager; 110 friend class safe_browsing::SafeBrowsingUIManager;
106 friend void SyzyASANRegisterExperiment(const char*, const char*); 111 friend void SyzyASANRegisterExperiment(const char*, const char*);
(...skipping 25 matching lines...) Expand all
132 // with g_browser_process->metrics_service(). See that function's declaration 137 // with g_browser_process->metrics_service(). See that function's declaration
133 // for details. 138 // for details.
134 static bool RegisterSyntheticFieldTrialWithNameHash( 139 static bool RegisterSyntheticFieldTrialWithNameHash(
135 uint32_t trial_name_hash, 140 uint32_t trial_name_hash,
136 const std::string& group_name); 141 const std::string& group_name);
137 142
138 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor); 143 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeMetricsServiceAccessor);
139 }; 144 };
140 145
141 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_ 146 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_ACCESSOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698