| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/sync/core/change_record.h" | 5 #include "components/sync/syncable/change_record.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "components/sync/core/base_node.h" | |
| 12 #include "components/sync/core/read_node.h" | |
| 13 #include "components/sync/protocol/proto_value_conversions.h" | 11 #include "components/sync/protocol/proto_value_conversions.h" |
| 12 #include "components/sync/syncable/base_node.h" |
| 13 #include "components/sync/syncable/read_node.h" |
| 14 | 14 |
| 15 namespace syncer { | 15 namespace syncer { |
| 16 | 16 |
| 17 ChangeRecord::ChangeRecord() : id(kInvalidId), action(ACTION_ADD) {} | 17 ChangeRecord::ChangeRecord() : id(kInvalidId), action(ACTION_ADD) {} |
| 18 | 18 |
| 19 ChangeRecord::ChangeRecord(const ChangeRecord& other) = default; | 19 ChangeRecord::ChangeRecord(const ChangeRecord& other) = default; |
| 20 | 20 |
| 21 ChangeRecord::~ChangeRecord() {} | 21 ChangeRecord::~ChangeRecord() {} |
| 22 | 22 |
| 23 std::unique_ptr<base::DictionaryValue> ChangeRecord::ToValue() const { | 23 std::unique_ptr<base::DictionaryValue> ChangeRecord::ToValue() const { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const { | 61 const { |
| 62 return PasswordSpecificsDataToValue(unencrypted_); | 62 return PasswordSpecificsDataToValue(unencrypted_); |
| 63 } | 63 } |
| 64 | 64 |
| 65 const sync_pb::PasswordSpecificsData& | 65 const sync_pb::PasswordSpecificsData& |
| 66 ExtraPasswordChangeRecordData::unencrypted() const { | 66 ExtraPasswordChangeRecordData::unencrypted() const { |
| 67 return unencrypted_; | 67 return unencrypted_; |
| 68 } | 68 } |
| 69 | 69 |
| 70 } // namespace syncer | 70 } // namespace syncer |
| OLD | NEW |