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

Issue 8595023: [Sync] Parse and save per-data type throttle data (Closed)

Created:
9 years, 1 month ago by lipalani1
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Parse and Store the throttled datatypes and the unthrottling time, which is obtained from the server response, in the sync_session_context. This is the first patch for per datatype throttling feature. The next patch would consume this data to decide what items to commit. BUG=104819 TEST=sync_unit_tests.exe, sync_integration_tests.exe, unit_tests.exe Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111408

Patch Set 1 #

Patch Set 2 : For review. #

Total comments: 20

Patch Set 3 : For review. #

Total comments: 22

Patch Set 4 : For review. #

Patch Set 5 : For review. #

Patch Set 6 : For review. #

Total comments: 3

Patch Set 7 : Upload before commit. #

Patch Set 8 : Upload for committing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -6 lines) Patch
M chrome/browser/sync/engine/syncer_proto_util.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 1 2 3 4 3 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util_unittest.cc View 1 2 3 4 5 6 7 3 chunks +58 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/sync.proto View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/sync/protocol/sync_protocol_error.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.h View 1 2 3 4 5 6 4 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
lipalani1
Whoever has the time please do the review. Since Fred seems out, Tim I think ...
9 years, 1 month ago (2011-11-18 23:04:45 UTC) #1
akalin
Hmm it's hard to get a good sense of this CL because only bits and ...
9 years, 1 month ago (2011-11-21 20:04:26 UTC) #2
lipalani1
Fixed the feedback. About the CL splitup: The current split up is: CL1: Handle the ...
9 years, 1 month ago (2011-11-21 21:55:38 UTC) #3
akalin
On Mon, Nov 21, 2011 at 1:55 PM, <lipalani@chromium.org> wrote: > Fixed the feedback. > ...
9 years, 1 month ago (2011-11-21 22:21:17 UTC) #4
akalin
On Mon, Nov 21, 2011 at 2:21 PM, Fred Akalin <akalin@chromium.org> wrote: > On Mon, ...
9 years, 1 month ago (2011-11-21 22:21:44 UTC) #5
akalin
http://codereview.chromium.org/8595023/diff/6001/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/8595023/diff/6001/chrome/browser/sync/engine/syncer_proto_util.cc#newcode199 chrome/browser/sync/engine/syncer_proto_util.cc:199: delegate->OnSilencedUntil(throttled_until); add comment saying that no data types means ...
9 years, 1 month ago (2011-11-21 22:36:04 UTC) #6
akalin
> Fixed the feedback. > > About the CL splitup: > The current split up ...
9 years, 1 month ago (2011-11-21 22:38:40 UTC) #7
akalin
> Actually, it was my mistake that led me to think your CL was incomplete. ...
9 years, 1 month ago (2011-11-21 22:39:05 UTC) #8
lipalani1
Please review. All feedback fixed. http://codereview.chromium.org/8595023/diff/6001/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/8595023/diff/6001/chrome/browser/sync/engine/syncer_proto_util.cc#newcode199 chrome/browser/sync/engine/syncer_proto_util.cc:199: delegate->OnSilencedUntil(throttled_until); On 2011/11/21 22:36:04, ...
9 years, 1 month ago (2011-11-22 00:47:35 UTC) #9
akalin
LGTM http://codereview.chromium.org/8595023/diff/15011/chrome/browser/sync/protocol/sync.proto File chrome/browser/sync/protocol/sync.proto (right): http://codereview.chromium.org/8595023/diff/15011/chrome/browser/sync/protocol/sync.proto#newcode655 chrome/browser/sync/protocol/sync.proto:655: // Currently only meaningful if the |error_type| is ...
9 years, 1 month ago (2011-11-22 04:26:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8595023/24001
9 years, 1 month ago (2011-11-22 23:31:39 UTC) #11
commit-bot: I haz the power
Try job failure for 8595023-24001 (retry) on mac_rel for steps "browser_tests, ui_tests". It's a second ...
9 years, 1 month ago (2011-11-23 01:30:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8595023/24001
9 years, 1 month ago (2011-11-23 18:57:53 UTC) #13
commit-bot: I haz the power
9 years, 1 month ago (2011-11-23 20:46:02 UTC) #14
Change committed as 111408

Powered by Google App Engine
This is Rietveld 408576698