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

Unified Diff: components/sync/sessions_impl/nudge_tracker.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
Index: components/sync/sessions_impl/nudge_tracker.h
diff --git a/sync/sessions/nudge_tracker.h b/components/sync/sessions_impl/nudge_tracker.h
similarity index 93%
rename from sync/sessions/nudge_tracker.h
rename to components/sync/sessions_impl/nudge_tracker.h
index 2a0581e28172d3f7f02fdffed7bc45ab04794847..d33785bed3a5a5be3f71b4376c97956d5ea4883d 100644
--- a/sync/sessions/nudge_tracker.h
+++ b/components/sync/sessions_impl/nudge_tracker.h
@@ -4,8 +4,8 @@
//
// A class to track the outstanding work required to bring the client back into
// sync with the server.
-#ifndef SYNC_SESSIONS_NUDGE_TRACKER_H_
-#define SYNC_SESSIONS_NUDGE_TRACKER_H_
+#ifndef COMPONENTS_SYNC_SESSIONS_IMPL_NUDGE_TRACKER_H_
+#define COMPONENTS_SYNC_SESSIONS_IMPL_NUDGE_TRACKER_H_
#include <stddef.h>
@@ -16,11 +16,11 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/time/time.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base/invalidation_interface.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/protocol/sync.pb.h"
-#include "sync/sessions/data_type_tracker.h"
+#include "components/sync/base/invalidation_interface.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/protocol/sync.pb.h"
+#include "components/sync/sessions_impl/data_type_tracker.h"
namespace syncer {
@@ -125,9 +125,7 @@ class SYNC_EXPORT NudgeTracker {
// Fills a GetUpdatesTrigger message for the next GetUpdates request. This is
// used by the DownloadUpdatesCommand to dump lots of useful per-type state
// information into the GetUpdate request before sending it off to the server.
- void FillProtoMessage(
- ModelType type,
- sync_pb::GetUpdateTriggers* msg) const;
+ void FillProtoMessage(ModelType type, sync_pb::GetUpdateTriggers* msg) const;
// Fills a ProgressMarker with single legacy notification hint expected by the
// sync server. Newer servers will rely on the data set by FillProtoMessage()
@@ -209,4 +207,4 @@ class SYNC_EXPORT NudgeTracker {
} // namespace sessions
} // namespace syncer
-#endif // SYNC_SESSIONS_NUDGE_TRACKER_H_
+#endif // COMPONENTS_SYNC_SESSIONS_IMPL_NUDGE_TRACKER_H_
« no previous file with comments | « components/sync/sessions_impl/model_type_registry_unittest.cc ('k') | components/sync/sessions_impl/nudge_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698