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 "sync/internal_api/public/change_record.h" | 5 #include "sync/internal_api/public/change_record.h" |
6 | 6 |
7 #include "base/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "sync/internal_api/public/base_node.h" | 9 #include "sync/internal_api/public/base_node.h" |
10 #include "sync/internal_api/public/read_node.h" | 10 #include "sync/internal_api/public/read_node.h" |
11 #include "sync/protocol/proto_value_conversions.h" | 11 #include "sync/protocol/proto_value_conversions.h" |
12 | 12 |
13 namespace syncer { | 13 namespace syncer { |
14 | 14 |
15 ChangeRecord::ChangeRecord() | 15 ChangeRecord::ChangeRecord() |
16 : id(kInvalidId), action(ACTION_ADD) {} | 16 : id(kInvalidId), action(ACTION_ADD) {} |
17 | 17 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 DictionaryValue* ExtraPasswordChangeRecordData::ToValue() const { | 58 DictionaryValue* ExtraPasswordChangeRecordData::ToValue() const { |
59 return PasswordSpecificsDataToValue(unencrypted_); | 59 return PasswordSpecificsDataToValue(unencrypted_); |
60 } | 60 } |
61 | 61 |
62 const sync_pb::PasswordSpecificsData& | 62 const sync_pb::PasswordSpecificsData& |
63 ExtraPasswordChangeRecordData::unencrypted() const { | 63 ExtraPasswordChangeRecordData::unencrypted() const { |
64 return unencrypted_; | 64 return unencrypted_; |
65 } | 65 } |
66 | 66 |
67 } // namespace syncer | 67 } // namespace syncer |
OLD | NEW |