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

Issue 447883002: Make sure sync setup completes when signing in from the avatar bubble with modal warnings (Closed)

Created:
6 years, 4 months ago by guohui
Modified:
6 years, 4 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make sure sync setup completes when signing in from the avatar bubble with modal warnings When signing in from the new avatar bubble, since the inline template has no "choose what to sync" link, thus Chrome shows an inline confirmation in the avatar bubble upon signin completes and blocks sync until the bubble is closed. However, when some modal warnings show up before signin completes, they steal the focus thus the avatar bubble wont be able to show confirmation for sync settings and sync will be blocked infinitely. A temporary workaround is to just start sync immediately if a modal warning is shown, since in all cases the dialog mentions that user data will be synced. I will add a sync settings link to all modal dialogs later so that user could configure sync settings before sync starts. BUG=435423005 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288122

Patch Set 1 #

Total comments: 2

Patch Set 2 : nits fixed #

Patch Set 3 : #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 2 chunks +38 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
guohui
Hey, could you please review the CL? Thanks, Hui
6 years, 4 months ago (2014-08-06 20:32:16 UTC) #1
Roger Tawa OOO till Jul 10th
lgtm Maybe add more comments in all the places where the code will still need ...
6 years, 4 months ago (2014-08-06 21:04:42 UTC) #2
guohui
The CQ bit was checked by guohui@chromium.org
6 years, 4 months ago (2014-08-06 21:19:40 UTC) #3
guohui
https://codereview.chromium.org/447883002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/447883002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode1190 chrome/browser/ui/sync/one_click_signin_helper.cc:1190: // sign in completes. This cofirmation dialog already mentions ...
6 years, 4 months ago (2014-08-06 21:19:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/447883002/20001
6 years, 4 months ago (2014-08-06 21:21:52 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-06 23:21:47 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 23:32:17 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/3662)
6 years, 4 months ago (2014-08-06 23:32:18 UTC) #8
guohui
The CQ bit was checked by guohui@chromium.org
6 years, 4 months ago (2014-08-07 00:15:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/447883002/40001
6 years, 4 months ago (2014-08-07 00:18:51 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-07 05:21:24 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 07:16:32 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/sync/one_click_signin_helper.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-07 07:16:33 UTC) #13
guohui
The CQ bit was checked by guohui@chromium.org
6 years, 4 months ago (2014-08-07 13:58:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/447883002/60001
6 years, 4 months ago (2014-08-07 13:59:34 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 19:52:35 UTC) #16
Message was sent while issue was closed.
Change committed as 288122

Powered by Google App Engine
This is Rietveld 408576698