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

Unified Diff: components/sync/base/immutable_unittest.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/base/immutable.h ('k') | components/sync/base/model_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/immutable_unittest.cc
diff --git a/components/sync/base/immutable_unittest.cc b/components/sync/base/immutable_unittest.cc
index c59d9bcb4667e3596465b1845609cd2e2e8b1f8d..6c8d2a89674ba008d277cb2aba41b0271a1c1001 100644
--- a/components/sync/base/immutable_unittest.cc
+++ b/components/sync/base/immutable_unittest.cc
@@ -87,9 +87,9 @@ class TokenBase {
scoped_refptr<TokenCore> core_;
};
-typedef TokenBase<USE_DEFAULT_SWAP> Token;
-typedef TokenBase<USE_FAST_SWAP_VIA_ADL> ADLToken;
-typedef TokenBase<USE_FAST_SWAP_VIA_SPECIALIZATION> SpecializationToken;
+using Token = TokenBase<USE_DEFAULT_SWAP>;
+using ADLToken = TokenBase<USE_FAST_SWAP_VIA_ADL>;
+using SpecializationToken = TokenBase<USE_FAST_SWAP_VIA_SPECIALIZATION>;
void swap(ADLToken& t1, ADLToken& t2) {
t1.Swap(&t2);
« no previous file with comments | « components/sync/base/immutable.h ('k') | components/sync/base/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698