type);
}
-void SyncBackendHostCore::OnStopSyncingPermanently() {
- if (!sync_loop_)
- return;
- DCHECK_EQ(base::MessageLoop::current(), sync_loop_);
- host_.Call(
- FROM_HERE,
- &SyncBackendHostImpl::HandleStopSyncingPermanentlyOnFrontendLoop);
-}
-
void SyncBackendHostCore::OnEncryptedTypesChanged(
syncer::ModelTypeSet encrypted_types,
bool encrypt_everything) {
sync_error);
}
+void SyncBackendHostCore::OnMigrationRequested(syncer::ModelTypeSet types) {
+ DCHECK_EQ(base::MessageLoop::current(), sync_loop_);
+ host_.Call(
+ FROM_HERE,
+ &SyncBackendHostImpl::HandleMigrationRequestedOnFrontendLoop,
+ types);
+}
+
void SyncBackendHostCore::DoOnInvalidatorStateChange(
syncer::InvalidatorState state) {
DCHECK_EQ(base::MessageLoop::current(), sync_loop_);