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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2727063006: Settings reset prompt: add startup logic (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 "bookmarks_footnote_ios_promo_dismissed"; 2471 "bookmarks_footnote_ios_promo_dismissed";
2472 2472
2473 // Number of times user has seen the "desktop to iOS" history page promotion. 2473 // Number of times user has seen the "desktop to iOS" history page promotion.
2474 const char kNumberHistoryPageIOSPromoShown[] = 2474 const char kNumberHistoryPageIOSPromoShown[] =
2475 "history_page_ios_promo_shown_count"; 2475 "history_page_ios_promo_shown_count";
2476 2476
2477 // True if the user has dismissed the "desktop to iOS" history page promotion. 2477 // True if the user has dismissed the "desktop to iOS" history page promotion.
2478 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2478 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2479 #endif 2479 #endif
2480 2480
2481 // An integer that keeps track of prompt waves for the settings reset
2482 // prompt. Users will be prompted to reset settings at most once per prompt wave
2483 // for each setting that the prompt targets (default search, startup URLs and
2484 // homepage). The value of this setting is controlled by a variations parameter
2485 // 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.
2486 const char kSettingsResetPromptPromptWave[] =
2487 "settings_reset_prompt.prompt_wave";
2488
2489 // Timestamp of the last time the settings reset prompt was shown during the
2490 // current prompt wave asking the user if they want to restore their search
2491 // engine.
2492 const char kSettingsResetPromptLastTriggeredForDefaultSearch[] =
2493 "settings_reset_prompt.last_triggered_for_default_search";
2494
2495 // Timestamp of the last time the settings reset prompt was shown during the
2496 // current prompt wave asking the user if they want to restore their startup
2497 // settings.
2498 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2499 "settings_reset_prompt.last_triggered_for_startup_urls";
2500
2501 // Timestamp of the last time the settings reset prompt was shown during the
2502 // current prompt wave asking the user if they want to restore their homepage.
2503 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2504 "settings_reset_prompt.last_triggered_for_homepage";
2505
2481 } // namespace prefs 2506 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698