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

Unified Diff: chrome/browser/first_run/first_run.h

Issue 9960046: Merge 130848 - Add FirstRun.SearchEngineBubble UMA histogram counts. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 years, 8 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/first_run/first_run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.h
===================================================================
--- chrome/browser/first_run/first_run.h (revision 131444)
+++ chrome/browser/first_run/first_run.h (working copy)
@@ -33,6 +33,12 @@
// install work for this user. After that the sentinel file is created.
namespace first_run {
+enum FirstRunBubbleMetric {
+ FIRST_RUN_BUBBLE_SHOWN = 0, // The search engine bubble was shown.
+ FIRST_RUN_BUBBLE_CHANGE_INVOKED, // The bubble's "Change" was invoked.
+ NUM_FIRST_RUN_BUBBLE_METRICS
+};
+
// See ProcessMasterPreferences for more info about this structure.
struct MasterPrefs {
MasterPrefs();
@@ -74,6 +80,9 @@
// Returns false if the pref could not be set.
bool SetPersonalDataManagerFirstRunPref();
+// Log a metric for the "FirstRun.SearchEngineBubble" histogram.
+void LogFirstRunMetric(FirstRunBubbleMetric metric);
+
// -- Platform-specific functions --
// Automatically import history and home page (and search engine, if
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698