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