| 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
|
|
|