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

Unified Diff: components/sync/driver/data_type_manager_impl.cc

Issue 2644373003: Revert of [Sync] Make directory types registration explicit in ModelTypeRegistry (Closed)
Patch Set: Created 3 years, 11 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/data_type_manager_impl.cc
diff --git a/components/sync/driver/data_type_manager_impl.cc b/components/sync/driver/data_type_manager_impl.cc
index afb73b00404505dfe3c5ae3fc5b34a954b95ade3..071d4c42bd447bf55ce6432c90d7285eec89fed0 100644
--- a/components/sync/driver/data_type_manager_impl.cc
+++ b/components/sync/driver/data_type_manager_impl.cc
@@ -640,12 +640,6 @@
DVLOG(1) << "Associating " << ModelTypeSetToString(types_to_associate);
model_association_manager_.StartAssociationAsync(types_to_associate);
-}
-
-void DataTypeManagerImpl::OnSingleDataTypeWillStart(ModelType type) {
- DCHECK(controllers_->find(type) != controllers_->end());
- DataTypeController* dtc = controllers_->find(type)->second.get();
- dtc->BeforeLoadModels(configurer_);
}
void DataTypeManagerImpl::OnSingleDataTypeWillStop(ModelType type,
« no previous file with comments | « components/sync/driver/data_type_manager_impl.h ('k') | components/sync/driver/data_type_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698