Index: components/sync/api/attachments/attachment_store.cc |
diff --git a/sync/api/attachments/attachment_store.cc b/components/sync/api/attachments/attachment_store.cc |
similarity index 89% |
rename from sync/api/attachments/attachment_store.cc |
rename to components/sync/api/attachments/attachment_store.cc |
index c044e9b0e5c5467e7f448c739ae9a558a5f4428a..ee575051b54bb78e8009ec6244c2e097a1cd7e9b 100644 |
--- a/sync/api/attachments/attachment_store.cc |
+++ b/components/sync/api/attachments/attachment_store.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sync/api/attachments/attachment_store.h" |
+#include "components/sync/api/attachments/attachment_store.h" |
#include <utility> |
@@ -12,26 +12,23 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/sequenced_task_runner.h" |
#include "base/threading/thread_task_runner_handle.h" |
-#include "sync/internal_api/public/attachments/attachment_store_frontend.h" |
-#include "sync/internal_api/public/attachments/in_memory_attachment_store.h" |
-#include "sync/internal_api/public/attachments/on_disk_attachment_store.h" |
+#include "components/sync/core/attachments/attachment_store_frontend.h" |
+#include "components/sync/core/attachments/in_memory_attachment_store.h" |
+#include "components/sync/core/attachments/on_disk_attachment_store.h" |
namespace syncer { |
namespace { |
-void NoOpDropCallback(const AttachmentStore::Result& result) { |
-} |
+void NoOpDropCallback(const AttachmentStore::Result& result) {} |
} |
AttachmentStore::AttachmentStore( |
const scoped_refptr<AttachmentStoreFrontend>& frontend, |
Component component) |
- : frontend_(frontend), component_(component) { |
-} |
+ : frontend_(frontend), component_(component) {} |
-AttachmentStore::~AttachmentStore() { |
-} |
+AttachmentStore::~AttachmentStore() {} |
void AttachmentStore::Read(const AttachmentIdList& ids, |
const ReadCallback& callback) { |
@@ -116,11 +113,9 @@ AttachmentStoreForSync::AttachmentStoreForSync( |
Component consumer_component, |
Component sync_component) |
: AttachmentStore(frontend, consumer_component), |
- sync_component_(sync_component) { |
-} |
+ sync_component_(sync_component) {} |
-AttachmentStoreForSync::~AttachmentStoreForSync() { |
-} |
+AttachmentStoreForSync::~AttachmentStoreForSync() {} |
void AttachmentStoreForSync::SetSyncReference(const AttachmentIdList& ids) { |
frontend()->SetReference(sync_component_, ids); |