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

Unified Diff: components/sync/api/sync_data_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
« no previous file with comments | « components/sync/api/sync_data.cc ('k') | components/sync/api/sync_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/sync_data_unittest.cc
diff --git a/sync/api/sync_data_unittest.cc b/components/sync/api/sync_data_unittest.cc
similarity index 86%
rename from sync/api/sync_data_unittest.cc
rename to components/sync/api/sync_data_unittest.cc
index 9f0d21bdc52be27b4b2c6efab967676bf8775f7d..a1f6e60eb14ccf8cae1d945de3405ec8d0841d0a 100644
--- a/sync/api/sync_data_unittest.cc
+++ b/components/sync/api/sync_data_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/api/sync_data.h"
+#include "components/sync/api/sync_data.h"
#include <stdint.h>
@@ -13,11 +13,11 @@
#include "base/message_loop/message_loop.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
-#include "sync/api/attachments/attachment_id.h"
-#include "sync/internal_api/public/attachments/attachment_service.h"
-#include "sync/internal_api/public/attachments/attachment_service_impl.h"
-#include "sync/internal_api/public/attachments/attachment_service_proxy.h"
-#include "sync/protocol/sync.pb.h"
+#include "components/sync/api/attachments/attachment_id.h"
+#include "components/sync/core/attachments/attachment_service.h"
+#include "components/sync/core/attachments/attachment_service_impl.h"
+#include "components/sync/core/attachments/attachment_service_proxy.h"
+#include "components/sync/protocol/sync.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
using std::string;
@@ -107,11 +107,9 @@ TEST_F(SyncDataTest, CreateLocalDataWithAttachments_EmptyListOfAttachments) {
TEST_F(SyncDataTest, CreateRemoteData) {
specifics.mutable_preference();
- SyncData data = SyncData::CreateRemoteData(kId,
- specifics,
- kLastModifiedTime,
- AttachmentIdList(),
- attachment_service_proxy);
+ SyncData data =
+ SyncData::CreateRemoteData(kId, specifics, kLastModifiedTime,
+ AttachmentIdList(), attachment_service_proxy);
EXPECT_TRUE(data.IsValid());
EXPECT_FALSE(data.IsLocal());
EXPECT_EQ(kId, SyncDataRemote(data).GetId());
« no previous file with comments | « components/sync/api/sync_data.cc ('k') | components/sync/api/sync_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698