| Index: components/sync/core_impl/attachments/attachment_service_impl_unittest.cc
|
| diff --git a/sync/internal_api/attachments/attachment_service_impl_unittest.cc b/components/sync/core_impl/attachments/attachment_service_impl_unittest.cc
|
| similarity index 97%
|
| rename from sync/internal_api/attachments/attachment_service_impl_unittest.cc
|
| rename to components/sync/core_impl/attachments/attachment_service_impl_unittest.cc
|
| index 792408971b453c6bbc405cf2577fca54e635b7eb..d12e74eb43d086ca67f2fec36e000d6817409274 100644
|
| --- a/sync/internal_api/attachments/attachment_service_impl_unittest.cc
|
| +++ b/components/sync/core_impl/attachments/attachment_service_impl_unittest.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/internal_api/public/attachments/attachment_service_impl.h"
|
| +#include "components/sync/core/attachments/attachment_service_impl.h"
|
|
|
| #include <algorithm>
|
| #include <map>
|
| @@ -19,10 +19,10 @@
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/timer/mock_timer.h"
|
| -#include "sync/api/attachments/attachment_store_backend.h"
|
| -#include "sync/internal_api/public/attachments/attachment_util.h"
|
| -#include "sync/internal_api/public/attachments/fake_attachment_downloader.h"
|
| -#include "sync/internal_api/public/attachments/fake_attachment_uploader.h"
|
| +#include "components/sync/api/attachments/attachment_store_backend.h"
|
| +#include "components/sync/core/attachments/attachment_util.h"
|
| +#include "components/sync/core/attachments/fake_attachment_downloader.h"
|
| +#include "components/sync/core/attachments/fake_attachment_uploader.h"
|
| #include "testing/gmock/include/gmock/gmock-matchers.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -287,8 +287,8 @@ class AttachmentServiceImplTest : public testing::Test,
|
| return id_set;
|
| }
|
|
|
| - const std::vector<AttachmentService::GetOrDownloadResult>&
|
| - download_results() const {
|
| + const std::vector<AttachmentService::GetOrDownloadResult>& download_results()
|
| + const {
|
| return download_results_;
|
| }
|
|
|
| @@ -308,9 +308,7 @@ class AttachmentServiceImplTest : public testing::Test,
|
| return attachment_downloader_.get();
|
| }
|
|
|
| - MockAttachmentUploader* uploader() {
|
| - return attachment_uploader_.get();
|
| - }
|
| + MockAttachmentUploader* uploader() { return attachment_uploader_.get(); }
|
|
|
| const std::vector<AttachmentId>& on_attachment_uploaded_list() const {
|
| return on_attachment_uploaded_list_;
|
|
|