DescriptionDo not show sync promo when RestoreOnStartupURLs policy is set
When first_run_tabs are set through master_preferences, the sync promo
should be shown if not explicitly suppressed. When RestoreOnStartupURLs
is set through policy, the sync promo should never be shown. This is
long-standing behavior, as evidenced here:
http://crbug.com/125467#c26
That behavior recently regressed with the sync promo appearing even if
RestoreOnStartupURLs are set. The regression happened here:
https://chromiumcodereview.appspot.com/12638005
This CL fixes the regression by ensuring that when RestoreOnStartup=4 and
RestoreOnStartupURLs are set, the sync promo is not shown. The CL also
adds browser tests to protect against similar regressions in the future.
BUG=244849
TEST=Manual and new browser_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206915
Patch Set 1 #Patch Set 2 : Fix clang compile. #Patch Set 3 : Fix browser tests on Windows. #Patch Set 4 : Fix browser tests on Windows, take 2. #Patch Set 5 : Rebased. #Patch Set 6 : Rebased. #
Total comments: 2
Patch Set 7 : Nit addressed. TODO added. #
Messages
Total messages: 18 (0 generated)
|