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

Unified Diff: components/sync/engine/net/network_time_update_callback.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/sync/engine/net/network_time_update_callback.h
diff --git a/components/sync/engine/net/network_time_update_callback.h b/components/sync/engine/net/network_time_update_callback.h
index ff3c5b8ddda641df948f6e05267e37ab6395d0c0..580524b2a4b9bf1f26433261c10dab5c9d6f8cd1 100644
--- a/components/sync/engine/net/network_time_update_callback.h
+++ b/components/sync/engine/net/network_time_update_callback.h
@@ -19,9 +19,8 @@ namespace syncer {
// const base::Time& network_time - the new network time.
// const base::TimeDelta& resolution - how precise the reading is.
// const base::TimeDelta& latency - the http request's latency.
-typedef base::Callback<
- void(const base::Time&, const base::TimeDelta&, const base::TimeDelta&)>
- NetworkTimeUpdateCallback;
+using NetworkTimeUpdateCallback = base::Callback<
+ void(const base::Time&, const base::TimeDelta&, const base::TimeDelta&)>;
} // namespace syncer
« no previous file with comments | « components/sync/engine/net/http_post_provider_factory.h ('k') | components/sync/engine/non_blocking_sync_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698