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

Issue 11428125: [Sync] Fix auth error handling while the backend is initializing. (Closed)

Created:
8 years ago by Nicolas Zea
Modified:
8 years ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Fix auth error handling while the backend is initializing. This changes it so that we no longer throw an unrecoverable error if we get an auth error while bringing up the backend (which can happen if we fail to download control types). We now let just let the backend continuing retrying (in backoff mode), until the user resolves the auth error, at which point we'll perform our pending sync cycle, finishing backend initialization. BUG=163491 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171094

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Patch Set 3 : Revert bookmark changes #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -25 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 3 chunks +6 lines, -19 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 3 chunks +25 lines, -1 line 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 5 chunks +35 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nicolas Zea
PTAL
8 years ago (2012-12-01 01:04:25 UTC) #1
tim (not reviewing)
https://codereview.chromium.org/11428125/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): https://codereview.chromium.org/11428125/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1633 chrome/browser/sync/profile_sync_service.cc:1633: DCHECK(backend_.get()); This scares me, given that it's contrary to ...
8 years ago (2012-12-04 18:47:24 UTC) #2
Nicolas Zea
PTAL https://codereview.chromium.org/11428125/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): https://codereview.chromium.org/11428125/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1633 chrome/browser/sync/profile_sync_service.cc:1633: DCHECK(backend_.get()); On 2012/12/04 18:47:24, timsteele wrote: > This ...
8 years ago (2012-12-04 19:22:58 UTC) #3
tim (not reviewing)
LGTM
8 years ago (2012-12-04 19:27:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11428125/6005
8 years ago (2012-12-04 19:31:15 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 19:50:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11428125/13002
8 years ago (2012-12-04 19:53:22 UTC) #7
commit-bot: I haz the power
8 years ago (2012-12-05 00:29:55 UTC) #8
Message was sent while issue was closed.
Change committed as 171094

Powered by Google App Engine
This is Rietveld 408576698