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

Issue 7621085: Server directed error handling backend code. (Closed)

Created:
9 years, 4 months ago by lipalani1
Modified:
9 years, 3 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, cbentzel+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Server directed error handling backend code. BUG=94007, 70276 TEST=sync_integration_tests.exe Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99051

Patch Set 1 : For review. #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 10

Patch Set 4 : Fixing review comments. #

Patch Set 5 : Reviewers comment. #

Patch Set 6 : For review. #

Patch Set 7 : Fixing CR feedback. #

Total comments: 17

Patch Set 8 : For review. #

Total comments: 8

Patch Set 9 : For review. #

Patch Set 10 : For review. #

Patch Set 11 : For review. #

Patch Set 12 : Upload before commit. #

Patch Set 13 : upload before commit #

Patch Set 14 : upload before commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -26 lines) Patch
M chrome/browser/sync/engine/sync_scheduler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/sync_scheduler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +57 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +115 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_types.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync/protocol/sync.proto View 1 chunk +22 lines, -1 line 0 comments Download
A chrome/browser/sync/protocol/sync_protocol_error.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/sync/protocol/sync_protocol_error.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 1 2 3 4 5 6 7 8 10 11 4 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/session_state.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/status_controller.h View 1 2 3 4 5 6 7 8 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +16 lines, -10 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session.h View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/sync/engine/syncer_command_test.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
lipalani1
Please review. This is the backend code. The frontend code to handle this error in ...
9 years, 4 months ago (2011-08-19 17:49:14 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc#newcode278 chrome/browser/sync/engine/syncer_proto_util.cc:278: bool ShouldRequestEarlyExit(const sync_api::SyncError& error) { Having this method here ...
9 years, 4 months ago (2011-08-22 15:14:57 UTC) #2
lipalani1
Please review once more. http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc#newcode278 chrome/browser/sync/engine/syncer_proto_util.cc:278: bool ShouldRequestEarlyExit(const sync_api::SyncError& error) { ...
9 years, 4 months ago (2011-08-22 21:43:53 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7621085/diff/9002/chrome/browser/sync/engine/syncer_proto_util.cc#newcode278 chrome/browser/sync/engine/syncer_proto_util.cc:278: bool ShouldRequestEarlyExit(const sync_api::SyncError& error) { On 2011/08/22 21:43:53, lipalani1 ...
9 years, 4 months ago (2011-08-23 14:17:07 UTC) #4
tim (not reviewing)
Also, please update the BUG= and TEST=? I thought there was already a bug for ...
9 years, 4 months ago (2011-08-23 14:18:28 UTC) #5
lipalani1
Please review.
9 years, 4 months ago (2011-08-24 03:25:26 UTC) #6
tim (not reviewing)
Few more comments. Bug 70276 is also relevant. http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc#newcode1120 chrome/browser/sync/engine/sync_scheduler.cc:1120: void ...
9 years, 4 months ago (2011-08-24 14:47:51 UTC) #7
tim (not reviewing)
re: my SyncError / ProtocolError comments... maybe the ServerConnectionManager isn't a bad place to have ...
9 years, 4 months ago (2011-08-24 17:50:50 UTC) #8
lipalani1
Please review. http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc#newcode1120 chrome/browser/sync/engine/sync_scheduler.cc:1120: void SyncScheduler::OnRequestEarlyExit() { On 2011/08/24 14:47:51, timsteele ...
9 years, 4 months ago (2011-08-25 06:14:06 UTC) #9
tim (not reviewing)
Please add 70276 to the BUG=. http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7621085/diff/23027/chrome/browser/sync/engine/sync_scheduler.cc#newcode1135 chrome/browser/sync/engine/sync_scheduler.cc:1135: void SyncScheduler::OnSyncError(sessions::SyncSession* session) ...
9 years, 4 months ago (2011-08-25 15:58:54 UTC) #10
lipalani1
Please review. All feedback fixed. http://codereview.chromium.org/7621085/diff/34001/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7621085/diff/34001/chrome/browser/sync/engine/sync_scheduler.cc#newcode1134 chrome/browser/sync/engine/sync_scheduler.cc:1134: SVLOG(2) << "OnRequestEarlyExit"; On ...
9 years, 4 months ago (2011-08-26 20:07:18 UTC) #11
tim (not reviewing)
Please remove 'protocol' namespace as discussed, then LGTM
9 years, 3 months ago (2011-08-29 23:02:49 UTC) #12
commit-bot: I haz the power
Try job failure for 7621085-45001 on linux for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux&number=46140 Step "update" is always ...
9 years, 3 months ago (2011-08-31 01:46:13 UTC) #13
commit-bot: I haz the power
9 years, 3 months ago (2011-08-31 21:56:40 UTC) #14
Change committed as 99051

Powered by Google App Engine
This is Rietveld 408576698