Index: components/sync/api_impl/attachments/attachment_service_impl.h |
diff --git a/components/sync/core/attachments/attachment_service_impl.h b/components/sync/api_impl/attachments/attachment_service_impl.h |
similarity index 87% |
rename from components/sync/core/attachments/attachment_service_impl.h |
rename to components/sync/api_impl/attachments/attachment_service_impl.h |
index f23c92e5bf04699bb5160228630d2222fdde5e49..b15f4d1d3dd98b153eaea194bdd1b4c41981ab3c 100644 |
--- a/components/sync/core/attachments/attachment_service_impl.h |
+++ b/components/sync/api_impl/attachments/attachment_service_impl.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
-#define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
+#ifndef COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
+#define COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
#include <deque> |
#include <memory> |
@@ -12,12 +12,12 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/threading/non_thread_safe.h" |
+#include "components/sync/api/attachments/attachment_service.h" |
+#include "components/sync/api/attachments/attachment_service_proxy.h" |
#include "components/sync/api/attachments/attachment_store.h" |
-#include "components/sync/core/attachments/attachment_downloader.h" |
-#include "components/sync/core/attachments/attachment_service.h" |
-#include "components/sync/core/attachments/attachment_service_proxy.h" |
-#include "components/sync/core/attachments/attachment_uploader.h" |
-#include "components/sync/core/attachments/task_queue.h" |
+#include "components/sync/api_impl/attachments/task_queue.h" |
+#include "components/sync/engine/attachments/attachment_downloader.h" |
+#include "components/sync/engine/attachments/attachment_uploader.h" |
#include "net/base/network_change_notifier.h" |
namespace syncer { |
@@ -61,9 +61,6 @@ class AttachmentServiceImpl |
const base::TimeDelta& max_backoff_delay); |
~AttachmentServiceImpl() override; |
- // Create an AttachmentServiceImpl suitable for use in tests. |
- static std::unique_ptr<AttachmentService> CreateForTest(); |
- |
// AttachmentService implementation. |
void GetOrDownloadAttachments(const AttachmentIdList& attachment_ids, |
const GetOrDownloadCallback& callback) override; |
@@ -121,4 +118,4 @@ class AttachmentServiceImpl |
} // namespace syncer |
-#endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
+#endif // COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |