| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/sync/test_profile_sync_service.h" | 5 #include "chrome/browser/sync/test_profile_sync_service.h" |
| 6 | 6 |
| 7 #include "chrome/browser/sync/abstract_profile_sync_service_test.h" | 7 #include "chrome/browser/sync/abstract_profile_sync_service_test.h" |
| 8 #include "chrome/browser/sync/engine/syncapi.h" | |
| 9 #include "chrome/browser/sync/glue/data_type_controller.h" | 8 #include "chrome/browser/sync/glue/data_type_controller.h" |
| 10 #include "chrome/browser/sync/glue/sync_backend_host.h" | 9 #include "chrome/browser/sync/glue/sync_backend_host.h" |
| 10 #include "chrome/browser/sync/internal_api/user_share.h" |
| 11 #include "chrome/browser/sync/js/js_reply_handler.h" | 11 #include "chrome/browser/sync/js/js_reply_handler.h" |
| 12 #include "chrome/browser/sync/profile_sync_factory.h" | 12 #include "chrome/browser/sync/profile_sync_factory.h" |
| 13 #include "chrome/browser/sync/sessions/session_state.h" | 13 #include "chrome/browser/sync/sessions/session_state.h" |
| 14 #include "chrome/browser/sync/signin_manager.h" | 14 #include "chrome/browser/sync/signin_manager.h" |
| 15 #include "chrome/browser/sync/syncable/directory_manager.h" | 15 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 16 #include "chrome/browser/sync/syncable/syncable.h" | 16 #include "chrome/browser/sync/syncable/syncable.h" |
| 17 #include "chrome/common/chrome_notification_types.h" | 17 #include "chrome/common/chrome_notification_types.h" |
| 18 #include "chrome/test/sync/test_http_bridge_factory.h" | 18 #include "chrome/test/sync/test_http_bridge_factory.h" |
| 19 | 19 |
| 20 using browser_sync::ModelSafeRoutingInfo; | 20 using browser_sync::ModelSafeRoutingInfo; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 fail_initial_download_ = true; | 247 fail_initial_download_ = true; |
| 248 } | 248 } |
| 249 | 249 |
| 250 void TestProfileSyncService::CreateBackend() { | 250 void TestProfileSyncService::CreateBackend() { |
| 251 backend_.reset(new browser_sync::SyncBackendHostForProfileSyncTest( | 251 backend_.reset(new browser_sync::SyncBackendHostForProfileSyncTest( |
| 252 profile(), | 252 profile(), |
| 253 set_initial_sync_ended_on_init_, | 253 set_initial_sync_ended_on_init_, |
| 254 synchronous_backend_initialization_, | 254 synchronous_backend_initialization_, |
| 255 fail_initial_download_)); | 255 fail_initial_download_)); |
| 256 } | 256 } |
| OLD | NEW |