| 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());
|
|
|