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/internal_api/sync_manager_impl.h | |
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/internal_api/sync_manager_impl.h')
-rw-r--r-- | sync/internal_api/sync_manager_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h index 01488c1..fa1662e 100644 --- a/sync/internal_api/sync_manager_impl.h +++ b/sync/internal_api/sync_manager_impl.h @@ -140,6 +140,7 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl : virtual void OnActionableError(const SyncProtocolError& error) OVERRIDE; virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE; + virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE; // ServerConnectionEventListener implementation. virtual void OnServerConnectionEvent( |