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

Issue 158953004: sync: Move migration signal out of snapshot (Closed)

Created:
6 years, 10 months ago by rlarocque
Modified:
6 years, 10 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

sync: Move migration signal out of snapshot A sync data migration request is signalled by the server during a normal GetUpdates or Commit request. The signal is then forwarded to the UI thread, which actually performs the migration. Traditionally, the signal has been sent through the SyncSessionSnapshot, which is delivered to the UI thread at the end of the current sync cycle. This CL introduces new code to pass the signal through the SyncSession::Delegate and SyncManagerObserverInterfaces. This CL should not change the syncer's behavior. BUG=339984 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250849

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -19 lines) Patch
M chrome/browser/sync/glue/sync_backend_host_core.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_core.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 2 chunks +8 lines, -5 lines 1 comment Download
M sync/engine/all_status.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/all_status.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/engine/sync_engine_event_listener.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M sync/engine/syncer_proto_util.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M sync/internal_api/debug_info_event_listener.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/debug_info_event_listener.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/js_sync_manager_observer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/js_sync_manager_observer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/public/sessions/model_neutral_state.h View 1 chunk +0 lines, -4 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/sessions/status_controller.h View 1 chunk +0 lines, -3 lines 0 comments Download
M sync/sessions/status_controller.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M sync/sessions/sync_session.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/test/engine/fake_sync_scheduler.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/test/engine/fake_sync_scheduler.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rlarocque
Here's a change to pull another piece of state out of the snapshot. I'll admit ...
6 years, 10 months ago (2014-02-11 20:41:57 UTC) #1
Nicolas Zea
lgtm https://codereview.chromium.org/158953004/diff/1/chrome/browser/sync/glue/sync_backend_host_impl.cc File chrome/browser/sync/glue/sync_backend_host_impl.cc (right): https://codereview.chromium.org/158953004/diff/1/chrome/browser/sync/glue/sync_backend_host_impl.cc#newcode608 chrome/browser/sync/glue/sync_backend_host_impl.cc:608: AddExperimentalTypes(); Kindda unrelated to this patch, but I ...
6 years, 10 months ago (2014-02-12 20:05:17 UTC) #2
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 10 months ago (2014-02-12 20:23:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/158953004/1
6 years, 10 months ago (2014-02-12 20:25:02 UTC) #4
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 23:47:42 UTC) #5
Message was sent while issue was closed.
Change committed as 250849

Powered by Google App Engine
This is Rietveld 408576698