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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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_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_;

Powered by Google App Engine
This is Rietveld 408576698