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" | |
7 #include "chrome/browser/profiles/profile.h" | 6 #include "chrome/browser/profiles/profile.h" |
8 #include "chrome/browser/sync/glue/app_data_type_controller.h" | 7 #include "chrome/browser/sync/glue/app_data_type_controller.h" |
9 #include "chrome/browser/sync/glue/autofill_change_processor.h" | 8 #include "chrome/browser/sync/glue/autofill_change_processor.h" |
10 #include "chrome/browser/sync/glue/autofill_change_processor2.h" | 9 #include "chrome/browser/sync/glue/autofill_change_processor2.h" |
11 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" | 10 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" |
12 #include "chrome/browser/sync/glue/autofill_model_associator.h" | 11 #include "chrome/browser/sync/glue/autofill_model_associator.h" |
13 #include "chrome/browser/sync/glue/autofill_model_associator2.h" | 12 #include "chrome/browser/sync/glue/autofill_model_associator2.h" |
14 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 13 #include "chrome/browser/sync/glue/bookmark_change_processor.h" |
15 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" | 14 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" |
16 #include "chrome/browser/sync/glue/bookmark_model_associator.h" | 15 #include "chrome/browser/sync/glue/bookmark_model_associator.h" |
(...skipping 267 matching lines...) Loading... |
284 ProfileSyncFactory::SyncComponents | 283 ProfileSyncFactory::SyncComponents |
285 ProfileSyncFactoryImpl::CreateSessionSyncComponents( | 284 ProfileSyncFactoryImpl::CreateSessionSyncComponents( |
286 ProfileSyncService* profile_sync_service, | 285 ProfileSyncService* profile_sync_service, |
287 UnrecoverableErrorHandler* error_handler) { | 286 UnrecoverableErrorHandler* error_handler) { |
288 SessionModelAssociator* model_associator = | 287 SessionModelAssociator* model_associator = |
289 new SessionModelAssociator(profile_sync_service); | 288 new SessionModelAssociator(profile_sync_service); |
290 SessionChangeProcessor* change_processor = | 289 SessionChangeProcessor* change_processor = |
291 new SessionChangeProcessor(error_handler, model_associator); | 290 new SessionChangeProcessor(error_handler, model_associator); |
292 return SyncComponents(model_associator, change_processor); | 291 return SyncComponents(model_associator, change_processor); |
293 } | 292 } |
OLD | NEW |