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

Unified Diff: components/sync/core/network_time_update_callback.h

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Use SyncServerConnectionManager instead of ServerConnectionManagerImpl. Created 4 years, 2 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/core/network_resources.h ('k') | components/sync/core/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/network_time_update_callback.h
diff --git a/components/sync/core/network_time_update_callback.h b/components/sync/core/network_time_update_callback.h
deleted file mode 100644
index cab010c60f13abfc0a1e8dd8384b212031870a89..0000000000000000000000000000000000000000
--- a/components/sync/core/network_time_update_callback.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_CORE_NETWORK_TIME_UPDATE_CALLBACK_H_
-#define COMPONENTS_SYNC_CORE_NETWORK_TIME_UPDATE_CALLBACK_H_
-
-#include "base/callback.h"
-#include "base/time/time.h"
-
-namespace syncer {
-
-// TODO(pvalenzuela): Avoid duplication of this typedef by defining it in a
-// common location. This is duplicated here because its original definition in
-// NetworkTimeTracker cannot be depended on.
-//
-// Callback for updating the network time.
-// Params:
-// 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;
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_NETWORK_TIME_UPDATE_CALLBACK_H_
« no previous file with comments | « components/sync/core/network_resources.h ('k') | components/sync/core/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698