Index: components/sync/core_impl/attachments/attachment_service_impl.cc |
diff --git a/components/sync/core_impl/attachments/attachment_service_impl.cc b/components/sync/core_impl/attachments/attachment_service_impl.cc |
index a713aebe7b32c6a441ebec507869be3011694ed5..9db853fc6d6d0a69d6412644fb282e05f1be1b7d 100644 |
--- a/components/sync/core_impl/attachments/attachment_service_impl.cc |
+++ b/components/sync/core_impl/attachments/attachment_service_impl.cc |
@@ -144,16 +144,15 @@ AttachmentServiceImpl::~AttachmentServiceImpl() { |
} |
// Static. |
-std::unique_ptr<syncer::AttachmentService> |
-AttachmentServiceImpl::CreateForTest() { |
- std::unique_ptr<syncer::AttachmentStore> attachment_store = |
+std::unique_ptr<AttachmentService> AttachmentServiceImpl::CreateForTest() { |
+ std::unique_ptr<AttachmentStore> attachment_store = |
AttachmentStore::CreateInMemoryStore(); |
std::unique_ptr<AttachmentUploader> attachment_uploader( |
new FakeAttachmentUploader); |
std::unique_ptr<AttachmentDownloader> attachment_downloader( |
new FakeAttachmentDownloader()); |
- std::unique_ptr<syncer::AttachmentService> attachment_service( |
- new syncer::AttachmentServiceImpl( |
+ std::unique_ptr<AttachmentService> attachment_service( |
+ new AttachmentServiceImpl( |
attachment_store->CreateAttachmentStoreForSync(), |
std::move(attachment_uploader), std::move(attachment_downloader), |
NULL, base::TimeDelta(), base::TimeDelta())); |