| Index: chrome/browser/first_run/first_run.h
|
| diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h
|
| index 29ef02b3484afc5e6b47a6acfd42f651d9541956..be7e8302d21bb06e4cd1115c9d5cd338faa1edfe 100644
|
| --- a/chrome/browser/first_run/first_run.h
|
| +++ b/chrome/browser/first_run/first_run.h
|
| @@ -33,6 +33,12 @@ class ProcessSingleton;
|
| // 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 @@ bool SetShowWelcomePagePref();
|
| // 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
|
|
|