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

Issue 8631021: [Sync] Prevent uploading throttled datatypes. (Closed)

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

Description

This is the second and final patch of changes for implementing the per datatype throttling feature. Includes the tests. This consumes the throttled datatypes set in the context and uses that to filter the unsynced handles that we use for committing. BUG=104819 TEST=unit_tests.exe, sync_unit_tests.exe, sync_integration_tests.exe, manual test cases Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111464

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 8

Patch Set 4 : For review. #

Patch Set 5 : For review. #

Total comments: 7

Patch Set 6 : All feedback fixed, running try #

Patch Set 7 : for try jobs #

Patch Set 8 : for try jobs #

Patch Set 9 : Fixied a compile error. #

Patch Set 10 : For committing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -31 lines) Patch
M chrome/browser/sync/engine/get_commit_ids_command.h View 1 2 3 4 5 3 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/sync/engine/get_commit_ids_command.cc View 1 2 3 4 5 6 7 16 chunks +46 lines, -21 lines 0 comments Download
M chrome/browser/sync/engine/syncer.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 5 6 7 2 chunks +50 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.cc View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/sync/sessions/sync_session_context_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
lipalani1
Please review.
9 years, 1 month ago (2011-11-22 23:01:24 UTC) #1
akalin
http://codereview.chromium.org/8631021/diff/4001/chrome/browser/sync/engine/get_commit_ids_command.cc File chrome/browser/sync/engine/get_commit_ids_command.cc (right): http://codereview.chromium.org/8631021/diff/4001/chrome/browser/sync/engine/get_commit_ids_command.cc#newcode76 chrome/browser/sync/engine/get_commit_ids_command.cc:76: // 2. It is not currently throttled. Its type ...
9 years, 1 month ago (2011-11-22 23:34:16 UTC) #2
lipalani1
Fixed all feedback. I have done the pruning in sync_begin. http://codereview.chromium.org/8631021/diff/4001/chrome/browser/sync/engine/get_commit_ids_command.cc File chrome/browser/sync/engine/get_commit_ids_command.cc (right): http://codereview.chromium.org/8631021/diff/4001/chrome/browser/sync/engine/get_commit_ids_command.cc#newcode76 ...
9 years, 1 month ago (2011-11-23 01:33:51 UTC) #3
akalin
LGTM after nits http://codereview.chromium.org/8631021/diff/8002/chrome/browser/sync/engine/get_commit_ids_command.cc File chrome/browser/sync/engine/get_commit_ids_command.cc (right): http://codereview.chromium.org/8631021/diff/8002/chrome/browser/sync/engine/get_commit_ids_command.cc#newcode47 chrome/browser/sync/engine/get_commit_ids_command.cc:47: syncable::ModelTypeSet throttled_types = may as well ...
9 years, 1 month ago (2011-11-23 03:44:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8631021/16017
9 years, 1 month ago (2011-11-23 23:47:10 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-24 01:06:13 UTC) #6
Change committed as 111464

Powered by Google App Engine
This is Rietveld 408576698