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

Unified Diff: chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h
index 31a7afeaed61215e490a475e10f01c54ca33ce98..a79a081d04a3af4296c100454c5db3de17ba22ef 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/strings/string16.h"
+#include "base/time/time.h"
#include "ui/gfx/range/range.h"
class Browser;
@@ -63,6 +64,9 @@ class SettingsResetPromptController {
base::string16 main_text_;
gfx::Range main_text_url_range_;
+ // Used for metrics reporting.
+ base::Time time_dialog_shown_;
+
DISALLOW_COPY_AND_ASSIGN(SettingsResetPromptController);
};
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698