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

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

Issue 314583002: Revert of Reduce plugin_metrics_provider_ usage in MetricsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file defines a service that collects information about the user 5 // This file defines a service that collects information about the user
6 // experience in order to help improve future versions of the app. 6 // experience in order to help improve future versions of the app.
7 7
8 #ifndef CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 8 #ifndef CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
9 #define CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 9 #define CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // This count is eventually send via UMA logs. 199 // This count is eventually send via UMA logs.
200 void RecordBreakpadRegistration(bool success); 200 void RecordBreakpadRegistration(bool success);
201 201
202 // Saves in the preferences if the browser is running under a debugger. 202 // Saves in the preferences if the browser is running under a debugger.
203 // This count is eventually send via UMA logs. 203 // This count is eventually send via UMA logs.
204 void RecordBreakpadHasDebugger(bool has_debugger); 204 void RecordBreakpadHasDebugger(bool has_debugger);
205 205
206 bool recording_active() const; 206 bool recording_active() const;
207 bool reporting_active() const; 207 bool reporting_active() const;
208 208
209 // TODO(blundell): Move this to ChromeMetricsServiceClient.
210 void LogPluginLoadingError(const base::FilePath& plugin_path); 209 void LogPluginLoadingError(const base::FilePath& plugin_path);
211 210
212 // Redundant test to ensure that we are notified of a clean exit. 211 // Redundant test to ensure that we are notified of a clean exit.
213 // This value should be true when process has completed shutdown. 212 // This value should be true when process has completed shutdown.
214 static bool UmaMetricsProperlyShutdown(); 213 static bool UmaMetricsProperlyShutdown();
215 214
216 // Registers a field trial name and group to be used to annotate a UMA report 215 // Registers a field trial name and group to be used to annotate a UMA report
217 // with a particular Chrome configuration state. A UMA report will be 216 // with a particular Chrome configuration state. A UMA report will be
218 // annotated with this trial group if and only if all events in the report 217 // annotated with this trial group if and only if all events in the report
219 // were created after the trial is registered. Only one group name may be 218 // were created after the trial is registered. Only one group name may be
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, IsPluginProcess); 496 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, IsPluginProcess);
498 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, MetricsServiceObserver); 497 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, MetricsServiceObserver);
499 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, 498 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest,
500 PermutedEntropyCacheClearedWhenLowEntropyReset); 499 PermutedEntropyCacheClearedWhenLowEntropyReset);
501 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial); 500 FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial);
502 501
503 DISALLOW_COPY_AND_ASSIGN(MetricsService); 502 DISALLOW_COPY_AND_ASSIGN(MetricsService);
504 }; 503 };
505 504
506 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_ 505 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698