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

Issue 1251203002: [Sync] Add ClearServerData support to Sync Scheduler (Closed)

Created:
5 years, 5 months ago by maniscalco
Modified:
5 years, 4 months ago
Reviewers:
Nicolas Zea, pavely
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Add ClearServerData support to Sync Scheduler We must clear server data when transitioning to passphrase encryption. Integrate the recently added ClearServerData RPC into SyncScheduler. BUG=490836 Committed: https://crrev.com/9cd186ef93973044b20388ab90d3673b2e2abc36 Cr-Commit-Position: refs/heads/master@{#340688}

Patch Set 1 #

Patch Set 2 : Some self-review changes. #

Patch Set 3 : Add some test cases #

Patch Set 4 : Improve comments #

Total comments: 4

Patch Set 5 : Apply CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -10 lines) Patch
M sync/engine/sync_scheduler.h View 3 chunks +17 lines, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.h View 3 chunks +5 lines, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 1 10 chunks +62 lines, -10 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M sync/engine/syncer.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M sync/engine/syncer.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M sync/test/engine/fake_sync_scheduler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/test/engine/fake_sync_scheduler.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
maniscalco
Pavel, would you please review this change? This is the next CL in the series ...
5 years, 5 months ago (2015-07-22 22:17:31 UTC) #2
pavely
lgtm with 2 nits. https://codereview.chromium.org/1251203002/diff/60001/sync/engine/sync_scheduler_impl.cc File sync/engine/sync_scheduler_impl.cc (right): https://codereview.chromium.org/1251203002/diff/60001/sync/engine/sync_scheduler_impl.cc#newcode572 sync/engine/sync_scheduler_impl.cc:572: pending_clear_params_->report_success_task.Run(); You can use RunAndReset ...
5 years, 4 months ago (2015-07-27 19:45:05 UTC) #3
maniscalco
https://codereview.chromium.org/1251203002/diff/60001/sync/engine/sync_scheduler_impl.cc File sync/engine/sync_scheduler_impl.cc (right): https://codereview.chromium.org/1251203002/diff/60001/sync/engine/sync_scheduler_impl.cc#newcode572 sync/engine/sync_scheduler_impl.cc:572: pending_clear_params_->report_success_task.Run(); On 2015/07/27 19:45:05, pavely wrote: > You can ...
5 years, 4 months ago (2015-07-27 20:38:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251203002/80001
5 years, 4 months ago (2015-07-27 23:49:53 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/21245)
5 years, 4 months ago (2015-07-28 00:06:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251203002/80001
5 years, 4 months ago (2015-07-28 15:21:09 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-07-28 15:46:30 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-07-28 15:47:17 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9cd186ef93973044b20388ab90d3673b2e2abc36
Cr-Commit-Position: refs/heads/master@{#340688}

Powered by Google App Engine
This is Rietveld 408576698