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

Unified Diff: components/browser_sync/profile_sync_service_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
Index: components/browser_sync/profile_sync_service_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_unittest.cc b/components/browser_sync/profile_sync_service_unittest.cc
index b4840091914c2e799fc5c91bbd6d3dea861940ad..a7044ffe143537847d63732cb83c2b8cd06e62f5 100644
--- a/components/browser_sync/profile_sync_service_unittest.cc
+++ b/components/browser_sync/profile_sync_service_unittest.cc
@@ -54,7 +54,7 @@ const char kEmail[] = "test_user@gmail.com";
class FakeDataTypeManager : public syncer::DataTypeManager {
public:
- typedef base::Callback<void(syncer::ConfigureReason)> ConfigureCalled;
+ using ConfigureCalled = base::Callback<void(syncer::ConfigureReason)>;
explicit FakeDataTypeManager(const ConfigureCalled& configure_called)
: configure_called_(configure_called) {}
@@ -128,9 +128,8 @@ class FakeSyncEngineCollectDeleteDirParam : public FakeSyncEngine {
// called.
class SyncEngineCaptureClearServerData : public FakeSyncEngine {
public:
- typedef base::Callback<void(
- const syncer::SyncManager::ClearServerDataCallback&)>
- ClearServerDataCalled;
+ using ClearServerDataCalled =
+ base::Callback<void(const syncer::SyncManager::ClearServerDataCallback&)>;
explicit SyncEngineCaptureClearServerData(
const ClearServerDataCalled& clear_server_data_called)
: clear_server_data_called_(clear_server_data_called) {}
« no previous file with comments | « components/browser_sync/profile_sync_service_bookmark_unittest.cc ('k') | components/browser_sync/profile_sync_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698