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

Unified Diff: components/sync/core/change_record.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/core/change_record.h ('k') | components/sync/core/change_record_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/change_record.cc
diff --git a/sync/internal_api/change_record.cc b/components/sync/core/change_record.cc
similarity index 81%
rename from sync/internal_api/change_record.cc
rename to components/sync/core/change_record.cc
index 97cfeef77fc91395702a6c4907c62113f0b0b0ee..ddd3f1988bbe7c61baf4350c450057e0f91971d4 100644
--- a/sync/internal_api/change_record.cc
+++ b/components/sync/core/change_record.cc
@@ -2,20 +2,19 @@
// 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/change_record.h"
+#include "components/sync/core/change_record.h"
#include <string>
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
-#include "sync/internal_api/public/base_node.h"
-#include "sync/internal_api/public/read_node.h"
-#include "sync/protocol/proto_value_conversions.h"
+#include "components/sync/core/base_node.h"
+#include "components/sync/core/read_node.h"
+#include "components/sync/protocol/proto_value_conversions.h"
namespace syncer {
-ChangeRecord::ChangeRecord()
- : id(kInvalidId), action(ACTION_ADD) {}
+ChangeRecord::ChangeRecord() : id(kInvalidId), action(ACTION_ADD) {}
ChangeRecord::ChangeRecord(const ChangeRecord& other) = default;
@@ -54,8 +53,7 @@ ExtraPasswordChangeRecordData::ExtraPasswordChangeRecordData() {}
ExtraPasswordChangeRecordData::ExtraPasswordChangeRecordData(
const sync_pb::PasswordSpecificsData& data)
- : unencrypted_(data) {
-}
+ : unencrypted_(data) {}
ExtraPasswordChangeRecordData::~ExtraPasswordChangeRecordData() {}
@@ -65,7 +63,7 @@ std::unique_ptr<base::DictionaryValue> ExtraPasswordChangeRecordData::ToValue()
}
const sync_pb::PasswordSpecificsData&
- ExtraPasswordChangeRecordData::unencrypted() const {
+ExtraPasswordChangeRecordData::unencrypted() const {
return unencrypted_;
}
« no previous file with comments | « components/sync/core/change_record.h ('k') | components/sync/core/change_record_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698