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

Unified Diff: chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h

Issue 2739513002: Settings reset prompt: add UMA metrics reporting. (Closed)
Patch Set: Adds histograms to log what is reset when prompt is accepted Created 3 years, 9 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/settings_reset_prompt/settings_reset_prompt_model.h
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h
index 771531a8786237212f223d016126b633e34366eb..7ac123f0cdac364039debe61afa79e8fcccacc09 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h
@@ -48,6 +48,7 @@ class SettingsResetPromptModel {
NO_RESET_REQUIRED_DUE_TO_RECENTLY_PROMPTED = 4,
NO_RESET_REQUIRED_DUE_TO_OTHER_SETTING_REQUIRING_RESET = 5,
NO_RESET_REQUIRED_DUE_TO_POLICY = 6,
+ RESET_STATE_MAX = 7
};
using ExtensionMap =
@@ -103,6 +104,8 @@ class SettingsResetPromptModel {
// be disabled.
virtual const ExtensionMap& extensions_to_disable() const;
+ void ReportUmaMetrics() const;
+
protected:
// Exposed for mocking in tests.
SettingsResetPromptModel(

Powered by Google App Engine
This is Rietveld 408576698