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

Unified Diff: components/sync/api/attachments/attachment_service_proxy_for_test.cc

Issue 2399953002: [Sync] Move attachments code out of core/. (Closed)
Patch Set: Address comments. 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/api/attachments/attachment_service_proxy_for_test.cc
diff --git a/components/sync/core_impl/attachments/attachment_service_proxy_for_test.cc b/components/sync/api/attachments/attachment_service_proxy_for_test.cc
similarity index 92%
rename from components/sync/core_impl/attachments/attachment_service_proxy_for_test.cc
rename to components/sync/api/attachments/attachment_service_proxy_for_test.cc
index c305282278741cf6b85456a19fe7e2195c976bdc..f1a94fa0f580d7d435c5d0a31efc50c5ffd457b7 100644
--- a/components/sync/core_impl/attachments/attachment_service_proxy_for_test.cc
+++ b/components/sync/api/attachments/attachment_service_proxy_for_test.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync/core/attachments/attachment_service_proxy_for_test.h"
+#include "components/sync/api/attachments/attachment_service_proxy_for_test.h"
#include <utility>
#include "base/message_loop/message_loop.h"
#include "base/threading/thread_task_runner_handle.h"
-#include "components/sync/core/attachments/attachment_service_impl.h"
+#include "components/sync/api/attachments/attachment_service.h"
namespace syncer {
@@ -26,7 +26,7 @@ AttachmentServiceProxyForTest::OwningCore::~OwningCore() {}
// Static.
AttachmentServiceProxy AttachmentServiceProxyForTest::Create() {
std::unique_ptr<AttachmentService> wrapped(
- AttachmentServiceImpl::CreateForTest());
+ AttachmentService::CreateForTest());
// This class's base class, AttachmentServiceProxy, must be initialized with a
// WeakPtr to an AttachmentService. Because the base class ctor must be
// invoked before any of this class's members are initialized, we create the

Powered by Google App Engine
This is Rietveld 408576698