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

Side by Side Diff: components/sync/syncable/write_transaction_info.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_WRITE_TRANSACTION_INFO_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
6 #define COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 19 matching lines...) Expand all
30 base::DictionaryValue* ToValue(size_t max_mutations_size) const; 30 base::DictionaryValue* ToValue(size_t max_mutations_size) const;
31 31
32 int64_t id; 32 int64_t id;
33 // If tracked_objects::Location becomes assignable, we can use that 33 // If tracked_objects::Location becomes assignable, we can use that
34 // instead. 34 // instead.
35 std::string location_string; 35 std::string location_string;
36 WriterTag writer; 36 WriterTag writer;
37 ImmutableEntryKernelMutationMap mutations; 37 ImmutableEntryKernelMutationMap mutations;
38 }; 38 };
39 39
40 typedef Immutable<WriteTransactionInfo> ImmutableWriteTransactionInfo; 40 using ImmutableWriteTransactionInfo = Immutable<WriteTransactionInfo>;
41 41
42 } // namespace syncable 42 } // namespace syncable
43 } // namespace syncer 43 } // namespace syncer
44 44
45 #endif // COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ 45 #endif // COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/syncable_delete_journal.h ('k') | components/sync/test/engine/mock_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698