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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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/non_blocking_sync_common.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/sync/internal_api/public/network_time_update_callback.h b/components/sync/core/network_time_update_callback.h
similarity index 65%
rename from sync/internal_api/public/network_time_update_callback.h
rename to components/sync/core/network_time_update_callback.h
index 1efa2414982441bee3a74cff1096590799fe793d..cab010c60f13abfc0a1e8dd8384b212031870a89 100644
--- a/sync/internal_api/public/network_time_update_callback.h
+++ b/components/sync/core/network_time_update_callback.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_INTERNAL_API_PUBLIC_NETWORK_TIME_UPDATE_CALLBACK_H_
-#define SYNC_INTERNAL_API_PUBLIC_NETWORK_TIME_UPDATE_CALLBACK_H_
+#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"
@@ -19,10 +19,10 @@ 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;
+typedef base::Callback<
+ void(const base::Time&, const base::TimeDelta&, const base::TimeDelta&)>
+ NetworkTimeUpdateCallback;
} // namespace syncer
-#endif // SYNC_INTERNAL_API_PUBLIC_NETWORK_TIME_UPDATE_CALLBACK_H_
+#endif // COMPONENTS_SYNC_CORE_NETWORK_TIME_UPDATE_CALLBACK_H_
« no previous file with comments | « components/sync/core/network_resources.h ('k') | components/sync/core/non_blocking_sync_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698