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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl.cc

Issue 2394573002: [Sync] Rename DataTypeState to ModelTypeState. (Closed)
Patch Set: Rebase. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sync/driver/glue/sync_backend_host_impl.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl.cc b/components/sync/driver/glue/sync_backend_host_impl.cc
index 5256442ec41869f7fa386832dd67633b91f354eb..48018efa611f42a31a3317eb36de0382bc55e794 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -412,7 +412,7 @@ void SyncBackendHostImpl::ActivateNonBlockingDataType(
ModelType type,
std::unique_ptr<ActivationContext> activation_context) {
registrar_->RegisterNonBlockingType(type);
- if (activation_context->data_type_state.initial_sync_done())
+ if (activation_context->model_type_state.initial_sync_done())
registrar_->AddRestoredNonBlockingType(type);
model_type_connector_->ConnectType(type, std::move(activation_context));
}
« no previous file with comments | « components/sync/device_info/device_info_service_unittest.cc ('k') | components/sync/engine_impl/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698