Chromium Code Reviews| Index: chrome/common/pref_names.cc |
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
| index 254cdb91ef98bf7cd0ad42a4b9c068a641f81993..2e2e331d44b452d793638d38aff631e2f3dba684 100644 |
| --- a/chrome/common/pref_names.cc |
| +++ b/chrome/common/pref_names.cc |
| @@ -2478,4 +2478,29 @@ const char kNumberHistoryPageIOSPromoShown[] = |
| const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
| #endif |
| +// An integer that keeps track of prompt waves for the settings reset |
| +// prompt. Users will be prompted to reset settings at most once per prompt wave |
| +// for each setting that the prompt targets (default search, startup URLs and |
| +// homepage). The value of this setting is controlled by a variations parameter |
| +// and will be increased when starting a new prompt wave. |
|
csharp
2017/03/03 00:50:46
As discussed, this should probably just check for
alito
2017/03/03 01:35:01
Done.
|
| +const char kSettingsResetPromptPromptWave[] = |
| + "settings_reset_prompt.prompt_wave"; |
| + |
| +// Timestamp of the last time the settings reset prompt was shown during the |
| +// current prompt wave asking the user if they want to restore their search |
| +// engine. |
| +const char kSettingsResetPromptLastTriggeredForDefaultSearch[] = |
| + "settings_reset_prompt.last_triggered_for_default_search"; |
| + |
| +// Timestamp of the last time the settings reset prompt was shown during the |
| +// current prompt wave asking the user if they want to restore their startup |
| +// settings. |
| +const char kSettingsResetPromptLastTriggeredForStartupUrls[] = |
| + "settings_reset_prompt.last_triggered_for_startup_urls"; |
| + |
| +// Timestamp of the last time the settings reset prompt was shown during the |
| +// current prompt wave asking the user if they want to restore their homepage. |
| +const char kSettingsResetPromptLastTriggeredForHomepage[] = |
| + "settings_reset_prompt.last_triggered_for_homepage"; |
| + |
| } // namespace prefs |