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

Unified Diff: components/browser_sync/profile_sync_service.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 side-by-side diff with in-line comments
Download patch
Index: components/browser_sync/profile_sync_service.h
diff --git a/components/browser_sync/profile_sync_service.h b/components/browser_sync/profile_sync_service.h
index a17b0c9cc37436b6f6ca93ee9e91ce4b3f3132d8..ee7fa2f9e7d73680d692b5f2188feb659dd10acf 100644
--- a/components/browser_sync/profile_sync_service.h
+++ b/components/browser_sync/profile_sync_service.h
@@ -176,8 +176,8 @@ class ProfileSyncService : public syncer::SyncServiceBase,
public SigninManagerBase::Observer,
public GaiaCookieManagerService::Observer {
public:
- typedef syncer::SyncEngine::Status Status;
- typedef base::Callback<bool(void)> PlatformSyncAllowedProvider;
+ using Status = syncer::SyncEngine::Status;
+ using PlatformSyncAllowedProvider = base::Callback<bool(void)>;
enum SyncEventCodes {
MIN_SYNC_EVENT_CODE = 0,
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_sync_starter.h ('k') | components/browser_sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698