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

Issue 11418200: Setup from settings should allow configuration first (Closed)

Created:
8 years ago by Roger Tawa OOO till Jul 10th
Modified:
8 years ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

Setup from settings should allow configuration first. BUG=81265 TEST=When setting up sync using the gaia-based web flow, the user should have the option to configure sync before it starts. The UX should be same as the native ui flow. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170999

Patch Set 1 #

Patch Set 2 : Fix build break #

Patch Set 3 : rebased #

Patch Set 4 : Fix test breaks #

Patch Set 5 : Minor cleanup #

Total comments: 6

Patch Set 6 : rebased #

Patch Set 7 : Address review comments #

Patch Set 8 : Fix DCHECK #

Total comments: 4

Patch Set 9 : Check pointers #

Total comments: 8

Patch Set 10 : rebased #

Total comments: 8

Patch Set 11 : Address review comments #

Patch Set 12 : rebased #

Patch Set 13 : Fix unit test #

Patch Set 14 : rebased #

Patch Set 15 : Fix merge conflict #

Total comments: 12

Patch Set 16 : rebased #

Patch Set 17 : Address review comments #

Total comments: 12

Patch Set 18 : Address review comments #

Total comments: 2

Patch Set 19 : Address review comments #

Patch Set 20 : rebased #

Patch Set 21 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -78 lines) Patch
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +30 lines, -38 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +19 lines, -13 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +17 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 11 chunks +79 lines, -13 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Roger Tawa OOO till Jul 10th
Hi Tim, This CL makes is that signing in from the settings page using the ...
8 years ago (2012-11-28 01:49:53 UTC) #1
tim (not reviewing)
Hey Roger, I'm not sure I'm the best person to review this code given the ...
8 years ago (2012-11-29 06:39:07 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks Tim. Comments addressed, changes uploaded. I'll make sure Drew takes a look. https://codereview.chromium.org/11418200/diff/10001/chrome/browser/ui/webui/sync_setup_handler.cc File ...
8 years ago (2012-11-29 20:20:56 UTC) #3
Roger Tawa OOO till Jul 10th
Hi Drew, Can you take a look at this CL please? Thanks.
8 years ago (2012-11-29 20:21:32 UTC) #4
tim (not reviewing)
Couple more questions to help me understand, but so far I think this look right... ...
8 years ago (2012-11-30 01:14:44 UTC) #5
Roger Tawa OOO till Jul 10th
Thanks Tim. Comments addressed, changes uploaded. https://codereview.chromium.org/11418200/diff/1013/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://codereview.chromium.org/11418200/diff/1013/chrome/browser/ui/webui/sync_setup_handler.cc#newcode196 chrome/browser/ui/webui/sync_setup_handler.cc:196: Browser* browser = ...
8 years ago (2012-11-30 01:37:14 UTC) #6
Andrew T Wilson (Slow)
https://codereview.chromium.org/11418200/diff/3011/chrome/browser/ui/sync/one_click_signin_sync_starter.h File chrome/browser/ui/sync/one_click_signin_sync_starter.h (right): https://codereview.chromium.org/11418200/diff/3011/chrome/browser/ui/sync/one_click_signin_sync_starter.h#newcode19 chrome/browser/ui/sync/one_click_signin_sync_starter.h:19: enum StartSyncMode {SYNC_WITH_DEFAULT_SETTINGS, CONFIGURE_SYNC_FIRST, I think we ought to ...
8 years ago (2012-11-30 16:40:11 UTC) #7
Roger Tawa OOO till Jul 10th
Thanks Drew. All comments addressed, changes uploaded. I had misunderstood the LoginUI interface, but now ...
8 years ago (2012-12-01 16:09:54 UTC) #8
Andrew T Wilson (Slow)
https://codereview.chromium.org/11418200/diff/9030/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/11418200/diff/9030/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode114 chrome/browser/ui/sync/one_click_signin_helper.cc:114: switches::kUseWebBasedSigninFlow); Why do we have a separate variable here? ...
8 years ago (2012-12-03 13:19:02 UTC) #9
Roger Tawa OOO till Jul 10th
Thank Drew. Comments addressed, changes uploaded. PTAL. https://codereview.chromium.org/11418200/diff/9030/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/11418200/diff/9030/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode114 chrome/browser/ui/sync/one_click_signin_helper.cc:114: switches::kUseWebBasedSigninFlow); On ...
8 years ago (2012-12-03 19:08:28 UTC) #10
tim (not reviewing)
Having looked this over with atwilson's comments / guidance, I'm comfortable enough playing Drew-regent for ...
8 years ago (2012-12-03 20:53:52 UTC) #11
Roger Tawa OOO till Jul 10th
Hi James, Can you do an owner review for the webui changes? Thanks.
8 years ago (2012-12-03 21:24:00 UTC) #12
James Hawkins
https://codereview.chromium.org/11418200/diff/11017/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (left): https://codereview.chromium.org/11418200/diff/11017/chrome/browser/ui/webui/sync_setup_handler.cc#oldcode517 chrome/browser/ui/webui/sync_setup_handler.cc:517: // (i.e. if the user is running in guest ...
8 years ago (2012-12-04 00:14:48 UTC) #13
Roger Tawa OOO till Jul 10th
Thanks James. Comments addressed, changes uploaded. PTAL. https://codereview.chromium.org/11418200/diff/11017/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (left): https://codereview.chromium.org/11418200/diff/11017/chrome/browser/ui/webui/sync_setup_handler.cc#oldcode517 chrome/browser/ui/webui/sync_setup_handler.cc:517: // (i.e. ...
8 years ago (2012-12-04 00:36:36 UTC) #14
James Hawkins
LGTM w/ optional nit. https://codereview.chromium.org/11418200/diff/14041/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://codereview.chromium.org/11418200/diff/14041/chrome/browser/ui/webui/sync_setup_handler.cc#newcode1127 chrome/browser/ui/webui/sync_setup_handler.cc:1127: // if |signin_tracker_| is valid ...
8 years ago (2012-12-04 01:02:24 UTC) #15
Roger Tawa OOO till Jul 10th
Thanks James. https://codereview.chromium.org/11418200/diff/14041/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://codereview.chromium.org/11418200/diff/14041/chrome/browser/ui/webui/sync_setup_handler.cc#newcode1127 chrome/browser/ui/webui/sync_setup_handler.cc:1127: // if |signin_tracker_| is valid and web-based ...
8 years ago (2012-12-04 01:10:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/11418200/1035
8 years ago (2012-12-04 01:12:06 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
8 years ago (2012-12-04 05:07:52 UTC) #18
Andrew T Wilson (Slow)
LGTM, with one comment - I suspect CloseSyncSetup() may be a little late to close ...
8 years ago (2012-12-04 11:08:24 UTC) #19
Roger Tawa OOO till Jul 10th
Hi Drew, Moved closing of gaia tab earlier as you suggested. Thanks.
8 years ago (2012-12-04 15:11:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/11418200/1052
8 years ago (2012-12-04 15:11:23 UTC) #21
commit-bot: I haz the power
8 years ago (2012-12-04 17:59:53 UTC) #22
Message was sent while issue was closed.
Change committed as 170999

Powered by Google App Engine
This is Rietveld 408576698