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

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: 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..ade561e43e4b0e3f204f05749589e7d1075a92d4 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,9 @@ class SettingsResetPromptModel {
// be disabled.
virtual const ExtensionMap& extensions_to_disable() const;
+ // Reports some UMA metrics.
robertshield 2017/03/07 07:43:19 nit: redundant comment
alito 2017/03/07 16:23:29 :) indeed. Done.
+ void ReportUmaMetrics() const;
+
protected:
// Exposed for mocking in tests.
SettingsResetPromptModel(

Powered by Google App Engine
This is Rietveld 408576698