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

Issue 11190013: sync: Remove UpdateProgress and related code (Closed)

Created:
8 years, 2 months ago by rlarocque
Modified:
8 years, 2 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, haitaol1
Visibility:
Public.

Description

sync: Remove UpdateProgress and related code Following the merge of the process updates and verify updates step, there is no longer any need for the UpdateProgress class. Its only use outside of tests was to pass data between the verify and update steps during a sync cycle. The class had some use in tests, but most of the assertions based on it were somewhat redundant. They can be replaced by assertions on similar, but non-ModelSafe, counts. BUG=156238 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162576

Patch Set 1 #

Patch Set 2 : Formatting improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -381 lines) Patch
M sync/engine/apply_updates_command.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M sync/engine/apply_updates_command_unittest.cc View 1 12 chunks +52 lines, -106 lines 0 comments Download
M sync/engine/process_updates_command.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M sync/engine/update_applicator.h View 3 chunks +0 lines, -35 lines 0 comments Download
M sync/engine/update_applicator.cc View 5 chunks +5 lines, -64 lines 0 comments Download
M sync/sessions/session_state.h View 1 chunk +0 lines, -52 lines 0 comments Download
M sync/sessions/session_state.cc View 1 chunk +0 lines, -57 lines 0 comments Download
M sync/sessions/status_controller.h View 2 chunks +3 lines, -6 lines 0 comments Download
M sync/sessions/status_controller.cc View 3 chunks +5 lines, -32 lines 0 comments Download
M sync/sessions/status_controller_unittest.cc View 2 chunks +5 lines, -23 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rlarocque
This patch should not affect program behaviour in any way. Please review.
8 years, 2 months ago (2012-10-17 00:00:56 UTC) #1
tim (not reviewing)
On 2012/10/17 00:00:56, rlarocque wrote: > This patch should not affect program behaviour in any ...
8 years, 2 months ago (2012-10-17 00:16:07 UTC) #2
akalin
It sounds like I don't need to look at this until that other patch is ...
8 years, 2 months ago (2012-10-17 20:36:26 UTC) #3
rlarocque
On 2012/10/17 20:36:26, akalin wrote: > It sounds like I don't need to look at ...
8 years, 2 months ago (2012-10-17 20:59:54 UTC) #4
akalin
lgtm!
8 years, 2 months ago (2012-10-17 21:18:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/11190013/2001
8 years, 2 months ago (2012-10-17 21:21:40 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-17 22:00:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/11190013/2001
8 years, 2 months ago (2012-10-17 22:49:38 UTC) #8
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 23:58:45 UTC) #9
Change committed as 162576

Powered by Google App Engine
This is Rietveld 408576698