diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 23:47:37 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 23:47:37 +0000 |
commit | b99f548508aa6ae45b0f215cf2f8c8679c7d7cdd (patch) | |
tree | 4053c5a4da94b3d6f6366c39fae4277be806a72f /sync/engine/all_status.cc | |
parent | cc25dd0cd7c0a18d6abe7f0dcf0f4b31e45cd3fb (diff) | |
download | chromium_src-b99f548508aa6ae45b0f215cf2f8c8679c7d7cdd.zip chromium_src-b99f548508aa6ae45b0f215cf2f8c8679c7d7cdd.tar.gz chromium_src-b99f548508aa6ae45b0f215cf2f8c8679c7d7cdd.tar.bz2 |
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
Review URL: https://codereview.chromium.org/158953004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/all_status.cc')
-rw-r--r-- | sync/engine/all_status.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/engine/all_status.cc b/sync/engine/all_status.cc index e5840f3..6fa98d3 100644 --- a/sync/engine/all_status.cc +++ b/sync/engine/all_status.cc @@ -122,6 +122,8 @@ void AllStatus::OnThrottledTypesChanged(ModelTypeSet throttled_types) { status_.throttled_types = throttled_types; } +void AllStatus::OnMigrationRequested(ModelTypeSet) {} + SyncStatus AllStatus::status() const { base::AutoLock lock(mutex_); return status_; |