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

Side by Side Diff: components/sync/syncable/change_record.cc

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sync/syncable/change_record.h ('k') | components/sync/syncable/change_record_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698