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

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

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 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 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
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_
OLDNEW
« no previous file with comments | « components/sync/model_impl/model_type_store_backend.h ('k') | components/sync/syncable/change_reorder_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698