| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ |
| 6 #define COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 ~ChangeRecord(); | 53 ~ChangeRecord(); |
| 54 | 54 |
| 55 std::unique_ptr<base::DictionaryValue> ToValue() const; | 55 std::unique_ptr<base::DictionaryValue> ToValue() const; |
| 56 | 56 |
| 57 int64_t id; | 57 int64_t id; |
| 58 Action action; | 58 Action action; |
| 59 sync_pb::EntitySpecifics specifics; | 59 sync_pb::EntitySpecifics specifics; |
| 60 linked_ptr<ExtraPasswordChangeRecordData> extra; | 60 linked_ptr<ExtraPasswordChangeRecordData> extra; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 typedef std::vector<ChangeRecord> ChangeRecordList; | 63 using ChangeRecordList = std::vector<ChangeRecord>; |
| 64 | 64 |
| 65 typedef Immutable<ChangeRecordList> ImmutableChangeRecordList; | 65 using ImmutableChangeRecordList = Immutable<ChangeRecordList>; |
| 66 | 66 |
| 67 } // namespace syncer | 67 } // namespace syncer |
| 68 | 68 |
| 69 #endif // COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ | 69 #endif // COMPONENTS_SYNC_SYNCABLE_CHANGE_RECORD_H_ |
| OLD | NEW |