Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: components/sync/core_impl/attachments/attachment_service_impl.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9db853fc6d6d0a69d6412644fb282e05f1be1b7d..a713aebe7b32c6a441ebec507869be3011694ed5 100644
--- a/components/sync/core_impl/attachments/attachment_service_impl.cc
+++ b/components/sync/core_impl/attachments/attachment_service_impl.cc
@@ -144,15 +144,16 @@ AttachmentServiceImpl::~AttachmentServiceImpl() {
}
// Static.
-std::unique_ptr<AttachmentService> AttachmentServiceImpl::CreateForTest() {
- std::unique_ptr<AttachmentStore> attachment_store =
+std::unique_ptr<syncer::AttachmentService>
+AttachmentServiceImpl::CreateForTest() {
+ std::unique_ptr<syncer::AttachmentStore> attachment_store =
AttachmentStore::CreateInMemoryStore();
std::unique_ptr<AttachmentUploader> attachment_uploader(
new FakeAttachmentUploader);
std::unique_ptr<AttachmentDownloader> attachment_downloader(
new FakeAttachmentDownloader());
- std::unique_ptr<AttachmentService> attachment_service(
- new AttachmentServiceImpl(
+ std::unique_ptr<syncer::AttachmentService> attachment_service(
+ new syncer::AttachmentServiceImpl(
attachment_store->CreateAttachmentStoreForSync(),
std::move(attachment_uploader), std::move(attachment_downloader),
NULL, base::TimeDelta(), base::TimeDelta()));

Powered by Google App Engine
This is Rietveld 408576698