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

Issue 9235040: [Sync] Handle errors during first sync gracefully. (Closed)

Created:
8 years, 11 months ago by lipalani1
Modified:
8 years, 10 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin
Visibility:
Public.

Description

Currently when there are errors during first sync(configure) we trigger an unrecoverable error. This change would make the PSS wait for the retry sync and also inform the wizard that we are waiting. The wizard then can decide to wait and show a screen for that. However currently the wizard would throw the unrecoverable error. BUG=100076, 111676 TEST=try bots and manual. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119633

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 17

Patch Set 4 : for review. #

Total comments: 8

Patch Set 5 : Upload before commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -37 lines) Patch
M chrome/browser/sync/glue/data_type_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl_unittest.cc View 1 2 3 4 15 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 1 2 3 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 7 chunks +35 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 6 chunks +48 lines, -8 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/session_state.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/session_state_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
lipalani1
Please review.
8 years, 11 months ago (2012-01-25 22:16:49 UTC) #1
lipalani1
On 2012/01/25 22:16:49, lipalani1 wrote: > Please review. Ping! I would like to make the ...
8 years, 11 months ago (2012-01-26 21:00:33 UTC) #2
Andrew T Wilson (Slow)
http://codereview.chromium.org/9235040/diff/6001/chrome/browser/sync/glue/data_type_manager.h File chrome/browser/sync/glue/data_type_manager.h (right): http://codereview.chromium.org/9235040/diff/6001/chrome/browser/sync/glue/data_type_manager.h#newcode48 chrome/browser/sync/glue/data_type_manager.h:48: // is being retried. I'm not sure I actively ...
8 years, 11 months ago (2012-01-27 00:19:03 UTC) #3
lipalani1
Had a conversation with Drew and we arrived at some solutions. This patch implements the ...
8 years, 11 months ago (2012-01-27 02:54:29 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/9235040/diff/6001/chrome/browser/sync/glue/data_type_manager.h File chrome/browser/sync/glue/data_type_manager.h (right): http://codereview.chromium.org/9235040/diff/6001/chrome/browser/sync/glue/data_type_manager.h#newcode48 chrome/browser/sync/glue/data_type_manager.h:48: // is being retried. On 2012/01/27 02:54:29, lipalani1 wrote: ...
8 years, 11 months ago (2012-01-27 03:32:38 UTC) #5
Andrew T Wilson (Slow)
On 2012/01/27 03:32:38, timsteele wrote: > ABORT still implies the DTM is stopped / not ...
8 years, 11 months ago (2012-01-27 17:41:42 UTC) #6
tim (not reviewing)
On 2012/01/27 17:41:42, Andrew T Wilson wrote: > On 2012/01/27 03:32:38, timsteele wrote: > > ...
8 years, 11 months ago (2012-01-27 17:52:24 UTC) #7
Andrew T Wilson (Slow)
LGTM http://codereview.chromium.org/9235040/diff/8001/chrome/browser/sync/glue/data_type_manager_impl.cc File chrome/browser/sync/glue/data_type_manager_impl.cc (right): http://codereview.chromium.org/9235040/diff/8001/chrome/browser/sync/glue/data_type_manager_impl.cc#newcode281 chrome/browser/sync/glue/data_type_manager_impl.cc:281: // NOTIFICATION_SYNC_CONFIGURE_STATUS. Do we have consensus that a ...
8 years, 11 months ago (2012-01-27 18:41:11 UTC) #8
lipalani1
fyi all nits fixed. Running try once more and planning to commit right after that. ...
8 years, 11 months ago (2012-01-27 19:35:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/9235040/9016
8 years, 11 months ago (2012-01-27 22:31:31 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
8 years, 11 months ago (2012-01-28 02:20:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/9235040/9016
8 years, 11 months ago (2012-01-28 22:44:08 UTC) #12
commit-bot: I haz the power
8 years, 10 months ago (2012-01-29 08:57:56 UTC) #13
Change committed as 119633

Powered by Google App Engine
This is Rietveld 408576698