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

Unified Diff: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h

Issue 2973873002: Primary histograms for InBrowserCleanerUI experiment (Closed)
Patch Set: Histograms and enums Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h
diff --git a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h
index 0547e742dc1c44fdc0d95bcf1b9ec941b1ac60c3..7f548349943fd2e8bb01ebf777e93ae560dee7fc 100644
--- a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h
+++ b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_win.h
@@ -23,6 +23,18 @@ class Profile;
namespace safe_browsing {
+// These values are used to send UMA information and are replicated in the
+// histograms.xml file, so the order MUST NOT CHANGE.
+enum CleanupStartedHistogramValue {
+ CLEANUP_STARTED_FROM_PROMPT_DIALOG = 1,
+ CLEANUP_STARTED_FROM_PROMPT_IN_SETTINGS = 2,
+
+ CLEANUP_STARTED_MAX,
+};
+
+// Records a SoftwareReporter.CleanupStarted histogram.
+void RecordCleanupStartedHistogram(CleanupStartedHistogramValue value);
+
// Delegate class that provides services to the ChromeCleanerController class
// and can be overridden by tests via
// SetChromeCleanerControllerDelegateForTesting().

Powered by Google App Engine
This is Rietveld 408576698