| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" | 
| 6 #include "chrome/browser/defaults.h" | 6 #include "chrome/browser/defaults.h" | 
| 7 #include "chrome/browser/profile.h" | 7 #include "chrome/browser/profiles/profile.h" | 
| 8 #include "chrome/browser/sync/glue/app_data_type_controller.h" | 8 #include "chrome/browser/sync/glue/app_data_type_controller.h" | 
| 9 #include "chrome/browser/sync/glue/autofill_change_processor.h" | 9 #include "chrome/browser/sync/glue/autofill_change_processor.h" | 
| 10 #include "chrome/browser/sync/glue/autofill_change_processor2.h" | 10 #include "chrome/browser/sync/glue/autofill_change_processor2.h" | 
| 11 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" | 11 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" | 
| 12 #include "chrome/browser/sync/glue/autofill_model_associator.h" | 12 #include "chrome/browser/sync/glue/autofill_model_associator.h" | 
| 13 #include "chrome/browser/sync/glue/autofill_model_associator2.h" | 13 #include "chrome/browser/sync/glue/autofill_model_associator2.h" | 
| 14 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 14 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 
| 15 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" | 15 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" | 
| 16 #include "chrome/browser/sync/glue/bookmark_model_associator.h" | 16 #include "chrome/browser/sync/glue/bookmark_model_associator.h" | 
| 17 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 17 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 284 ProfileSyncFactory::SyncComponents | 284 ProfileSyncFactory::SyncComponents | 
| 285 ProfileSyncFactoryImpl::CreateSessionSyncComponents( | 285 ProfileSyncFactoryImpl::CreateSessionSyncComponents( | 
| 286     ProfileSyncService* profile_sync_service, | 286     ProfileSyncService* profile_sync_service, | 
| 287     UnrecoverableErrorHandler* error_handler) { | 287     UnrecoverableErrorHandler* error_handler) { | 
| 288   SessionModelAssociator* model_associator = | 288   SessionModelAssociator* model_associator = | 
| 289       new SessionModelAssociator(profile_sync_service); | 289       new SessionModelAssociator(profile_sync_service); | 
| 290   SessionChangeProcessor* change_processor = | 290   SessionChangeProcessor* change_processor = | 
| 291       new SessionChangeProcessor(error_handler, model_associator); | 291       new SessionChangeProcessor(error_handler, model_associator); | 
| 292   return SyncComponents(model_associator, change_processor); | 292   return SyncComponents(model_associator, change_processor); | 
| 293 } | 293 } | 
| OLD | NEW | 
|---|