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

Issue 10885011: Its possible for sync to be suppressed before the user attempts one-click (Closed)

Created:
8 years, 3 months ago by Roger Tawa OOO till Jul 10th
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Its possible for sync to be suppressed before the user attempts one-click sign in. Therefore, if the user action indicates that they want to setup sync (that is, the pressed OK on the infobar and did not undo the action) then unsuppress and start sync as a first step. BUG=142516 TEST=See specific repro steps in comment 11 of bug report for repro steps. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154488

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebased #

Patch Set 3 : Address review comments #

Patch Set 4 : rebased #

Patch Set 5 : rebased #

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

Messages

Total messages: 9 (0 generated)
Roger Tawa OOO till Jul 10th
Hi Tim, Please take a look, and see question below. Thanks. http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (right): ...
8 years, 3 months ago (2012-08-28 17:21:55 UTC) #1
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (right): http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc#newcode49 chrome/browser/ui/sync/one_click_signin_sync_starter.cc:49: delete this; Is it important to reset the state ...
8 years, 3 months ago (2012-08-28 18:52:04 UTC) #2
tim (not reviewing)
http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (right): http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc#newcode32 chrome/browser/ui/sync/one_click_signin_sync_starter.cc:32: profile_sync_service->UnsuppressAndStart(); On 2012/08/28 17:21:55, Roger Tawa wrote: > Tim: ...
8 years, 3 months ago (2012-08-29 18:02:26 UTC) #3
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (right): http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc#newcode32 chrome/browser/ui/sync/one_click_signin_sync_starter.cc:32: profile_sync_service->UnsuppressAndStart(); On 2012/08/29 18:02:26, timsteele wrote: > On 2012/08/28 ...
8 years, 3 months ago (2012-08-29 18:58:43 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (left): http://codereview.chromium.org/10885011/diff/1/chrome/browser/ui/sync/one_click_signin_sync_starter.cc#oldcode59 chrome/browser/ui/sync/one_click_signin_sync_starter.cc:59: profile_sync_service->UnsuppressAndStart(); Hm, I'm a little confused. SigninSuccess is supposed ...
8 years, 3 months ago (2012-08-29 23:48:58 UTC) #5
Roger Tawa OOO till Jul 10th
Thanks Tim. Did as we discussed over hangout and all looks good. See latest upload.
8 years, 3 months ago (2012-08-31 14:39:54 UTC) #6
tim (not reviewing)
lgtm
8 years, 3 months ago (2012-08-31 16:53:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/10885011/17001
8 years, 3 months ago (2012-08-31 17:14:02 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 20:07:24 UTC) #9
Change committed as 154488

Powered by Google App Engine
This is Rietveld 408576698