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/js_sync_manager_observer.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/internal_api/js_sync_manager_observer.cc')
-rw-r--r-- | sync/internal_api/js_sync_manager_observer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc index e74db84..57df9d3 100644 --- a/sync/internal_api/js_sync_manager_observer.cc +++ b/sync/internal_api/js_sync_manager_observer.cc @@ -60,6 +60,8 @@ void JsSyncManagerObserver::OnActionableError( JsEventDetails(&details)); } +void JsSyncManagerObserver::OnMigrationRequested(ModelTypeSet types) { } + void JsSyncManagerObserver::OnInitializationComplete( const WeakHandle<JsBackend>& js_backend, const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener, |