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

Issue 10542044: [Sync] Remove unnecessary posting of methods in sync scheduler. (Closed)

Created:
8 years, 6 months ago by Nicolas Zea
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Sync] Remove unnecessary posting of methods in sync scheduler. Configuration, Clear User Data, Cleanup Disabled Types, and StartMode are all now synchronous methods. Nudge and Stop are the only methods that do posting. BUG=129665, 103327 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141541

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Rebase and fix dcheck #

Total comments: 6

Patch Set 4 : Address comments #

Total comments: 1

Patch Set 5 : Configure -> Configuration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -217 lines) Patch
M sync/engine/sync_scheduler.h View 1 2 3 4 2 chunks +11 lines, -15 lines 0 comments Download
M sync/engine/sync_scheduler.cc View 1 2 3 4 8 chunks +39 lines, -79 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 2 3 4 44 chunks +67 lines, -113 lines 0 comments Download
M sync/internal_api/sync_manager.cc View 1 2 3 4 5 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
PTAL. This mostly deals with a TODO Fred added, and paves the way for the ...
8 years, 6 months ago (2012-06-07 00:45:42 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc File sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc#newcode617 sync/engine/sync_scheduler.cc:617: // TODO(tim): config-specific GetUpdatesCallerInfo value? I think this can ...
8 years, 6 months ago (2012-06-11 20:06:13 UTC) #2
tim (not reviewing)
On 2012/06/11 20:06:13, timsteele wrote: > http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc > File sync/engine/sync_scheduler.cc (right): > > http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc#newcode617 > ...
8 years, 6 months ago (2012-06-11 20:06:57 UTC) #3
Nicolas Zea
Comments addressed, PTAL http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc File sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/10542044/diff/7001/sync/engine/sync_scheduler.cc#newcode617 sync/engine/sync_scheduler.cc:617: // TODO(tim): config-specific GetUpdatesCallerInfo value? On ...
8 years, 6 months ago (2012-06-11 20:55:09 UTC) #4
tim (not reviewing)
LGTM with nit http://codereview.chromium.org/10542044/diff/4008/sync/engine/sync_scheduler.h File sync/engine/sync_scheduler.h (right): http://codereview.chromium.org/10542044/diff/4008/sync/engine/sync_scheduler.h#newcode93 sync/engine/sync_scheduler.h:93: void ScheduleConfigure( uber nit - Lets ...
8 years, 6 months ago (2012-06-11 21:20:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/10542044/1009
8 years, 6 months ago (2012-06-11 21:30:28 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-06-11 22:51:27 UTC) #7
Change committed as 141541

Powered by Google App Engine
This is Rietveld 408576698