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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 1314903004: Sync: Refactoring DataTypeController to make the design shareable with USS datatypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments Created 5 years, 3 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: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 1fd4b3612f2068a83c39f5246b8cd44bcb9563dc..323c25f1659599a93b3cf6f1dd97a8c6412d80da 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1158,14 +1158,6 @@ void ProfileSyncService::OnBackendInitialized(
DVLOG(1) << "Setting preferred types for non-blocking DTM";
non_blocking_data_type_manager_.SetPreferredTypes(GetPreferredDataTypes());
- // Give the DataTypeControllers a handle to the now initialized backend
- // as a UserShare.
- for (DataTypeController::TypeMap::iterator it =
- directory_data_type_controllers_.begin();
- it != directory_data_type_controllers_.end(); ++it) {
- it->second->OnUserShareReady(GetUserShare());
- }
-
if (backend_mode_ == BACKUP || backend_mode_ == ROLLBACK)
ConfigureDataTypeManager();
else
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync/profile_sync_service_autofill_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698