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

Issue 11341030: sync: reland scheduler ownership refactoring, now with less crash (Closed)

Created:
8 years, 1 month ago by tim (not reviewing)
Modified:
8 years, 1 month ago
Reviewers:
rlarocque
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: reland scheduler ownership refactoring, now with less crash Prevent abandoned jobs from entering DoCanaryJob by stopping the timer in TakePendingJobForCurrentMode. Original review at https://codereview.chromium.org/10917234/ BUG=158313 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164992

Patch Set 1 #

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : full diff for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1126 lines, -567 lines) Patch
M sync/engine/sync_scheduler.h View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M sync/engine/sync_scheduler_impl.h View 1 2 9 chunks +53 lines, -75 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 1 2 27 chunks +360 lines, -341 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 2 15 chunks +64 lines, -13 lines 0 comments Download
M sync/engine/sync_scheduler_whitebox_unittest.cc View 1 2 13 chunks +25 lines, -30 lines 0 comments Download
A sync/engine/sync_session_job.h View 1 2 1 chunk +124 lines, -0 lines 0 comments Download
A sync/engine/sync_session_job.cc View 1 2 1 chunk +184 lines, -0 lines 0 comments Download
A sync/engine/sync_session_job_unittest.cc View 1 2 1 chunk +239 lines, -0 lines 0 comments Download
M sync/engine/syncer.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M sync/engine/syncer.cc View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 1 2 3 chunks +7 lines, -8 lines 0 comments Download
M sync/internal_api/js_sync_manager_observer_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M sync/internal_api/public/sessions/model_neutral_state.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/public/sessions/model_neutral_state.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M sync/internal_api/public/sessions/sync_session_snapshot.h View 1 2 3 chunks +1 line, -4 lines 0 comments Download
M sync/internal_api/public/sessions/sync_session_snapshot.cc View 1 2 4 chunks +1 line, -8 lines 0 comments Download
M sync/internal_api/public/util/syncer_error.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sync/sessions/session_state_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M sync/sessions/sync_session.h View 1 2 4 chunks +10 lines, -29 lines 0 comments Download
M sync/sessions/sync_session.cc View 1 2 5 chunks +16 lines, -42 lines 0 comments Download
M sync/sessions/sync_session_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M sync/sessions/test_util.cc View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M sync/sync.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tim (not reviewing)
Richard, please review. This diff is based off of the previous patch verbatim, which I ...
8 years, 1 month ago (2012-10-30 00:34:01 UTC) #1
tim (not reviewing)
hmm.. I messed up the patch upload, this isn't the right code. Hold on a ...
8 years, 1 month ago (2012-10-30 00:36:29 UTC) #2
tim (not reviewing)
Ready for a look.
8 years, 1 month ago (2012-10-30 16:50:38 UTC) #3
rlarocque
http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc File sync/engine/sync_scheduler_impl.cc (right): http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc#newcode1054 sync/engine/sync_scheduler_impl.cc:1054: wait_interval_->timer.Stop(); What if the timer fires somewhere between this ...
8 years, 1 month ago (2012-10-30 17:50:20 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc File sync/engine/sync_scheduler_impl.cc (right): http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc#newcode1054 sync/engine/sync_scheduler_impl.cc:1054: wait_interval_->timer.Stop(); On 2012/10/30 17:50:20, rlarocque wrote: > What if ...
8 years, 1 month ago (2012-10-30 17:58:28 UTC) #5
rlarocque
On 2012/10/30 17:58:28, timsteele wrote: > http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc > File sync/engine/sync_scheduler_impl.cc (right): > > http://codereview.chromium.org/11341030/diff/15001/sync/engine/sync_scheduler_impl.cc#newcode1054 > ...
8 years, 1 month ago (2012-10-30 18:07:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/11341030/6003
8 years, 1 month ago (2012-10-30 18:12:13 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-10-30 20:31:19 UTC) #8
Change committed as 164992

Powered by Google App Engine
This is Rietveld 408576698