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

Unified Diff: chrome/browser/ui/webui/welcome_handler.h

Issue 2416333003: Adding Histograms for new Desktop First Run. (Closed)
Patch Set: Adding user action for impression Created 4 years, 2 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/ui/webui/welcome_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/welcome_handler.h
diff --git a/chrome/browser/ui/webui/welcome_handler.h b/chrome/browser/ui/webui/welcome_handler.h
index 55f186171a2638af757168643d38cdf1ea37bc75..d96f4f3946dd0bedc8bf201f223af73a2d304e4e 100644
--- a/chrome/browser/ui/webui/welcome_handler.h
+++ b/chrome/browser/ui/webui/welcome_handler.h
@@ -28,9 +28,13 @@ class WelcomeHandler : public content::WebUIMessageHandler,
private:
enum WelcomeResult {
- DEFAULT = 0,
- SIGNED_IN, // User clicked the "Sign In" button and completed sign-in.
- DECLINED // User clicked the "No Thanks" button.
+ DEFAULT = 0, // User navigated away from the page.
+ DECLINED = 1, // User clicked the "No Thanks" button.
+ SIGNED_IN = 2, // User clicked the "Sign In" button and completed sign-in.
+
+ // New results must be added before this line, and should correspond to
+ // values in tools/metrics/histograms/histograms.xml.
+ WELCOME_RESULT_MAX
};
void HandleActivateSignIn(const base::ListValue* args);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/welcome_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698