| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/profile_sync_components_factory_mock.h" | 5 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" |
| 6 #include "components/sync_driver/change_processor.h" | 6 #include "components/sync_driver/change_processor.h" |
| 7 #include "components/sync_driver/model_associator.h" | 7 #include "components/sync_driver/model_associator.h" |
| 8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 9 #include "sync/api/attachments/fake_attachment_store.h" | 9 #include "sync/internal_api/public/attachments/fake_attachment_store.h" |
| 10 | 10 |
| 11 using browser_sync::AssociatorInterface; | 11 using browser_sync::AssociatorInterface; |
| 12 using browser_sync::ChangeProcessor; | 12 using browser_sync::ChangeProcessor; |
| 13 using testing::_; | 13 using testing::_; |
| 14 using testing::InvokeWithoutArgs; | 14 using testing::InvokeWithoutArgs; |
| 15 | 15 |
| 16 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock() {} | 16 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock() {} |
| 17 | 17 |
| 18 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock( | 18 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock( |
| 19 AssociatorInterface* model_associator, ChangeProcessor* change_processor) | 19 AssociatorInterface* model_associator, ChangeProcessor* change_processor) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 36 content::BrowserThread::GetMessageLoopProxyForThread( | 36 content::BrowserThread::GetMessageLoopProxyForThread( |
| 37 content::BrowserThread::IO))); | 37 content::BrowserThread::IO))); |
| 38 return store.Pass(); | 38 return store.Pass(); |
| 39 } | 39 } |
| 40 | 40 |
| 41 ProfileSyncComponentsFactory::SyncComponents | 41 ProfileSyncComponentsFactory::SyncComponents |
| 42 ProfileSyncComponentsFactoryMock::MakeSyncComponents() { | 42 ProfileSyncComponentsFactoryMock::MakeSyncComponents() { |
| 43 return SyncComponents(model_associator_.release(), | 43 return SyncComponents(model_associator_.release(), |
| 44 change_processor_.release()); | 44 change_processor_.release()); |
| 45 } | 45 } |
| OLD | NEW |