DescriptionFix sync promo first run bugs
This CL fixes two small bugs with showing the sync promo on first run.
First, if a master prefs file specified start URLs (using
"first_run_tabs") then the sync promo wouldn't be shown. Fix was to add
the sync promo even if the start URLs was non-empty.
Second, on Mac OS X, the "On Startup" pref would incorrectly be migrated
to "Continue where I left off". This also caused the sync promo to be
skipped. The problem was the profile version pref was not set yet which
caused the migration code to assume that an old profile was being
migrated. Fix was to check that the pref was actually set.
BUG=180521
TEST=Created the following master prefs file:
{
"homepage" : "http://www.chromium.org/",
"homepage_is_newtabpage" : false,
"first_run_tabs" : [
"new_tab_page",
"welcome_page",
"http://cnn.com"
]
}
Placed the file in /Library/Application Support/Chromium/Chromium Master Preferences
Verified that the sync promo showed.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187093
Patch Set 1 #
Total comments: 6
Patch Set 2 : address review comments #
Messages
Total messages: 8 (0 generated)
|