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

Unified Diff: components/sync/engine_impl/commit.h

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 4 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/engine_impl/clear_server_data.cc ('k') | components/sync/engine_impl/commit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/commit.h
diff --git a/components/sync/engine_impl/commit.h b/components/sync/engine_impl/commit.h
index fcab48ba7fef0e3ee2786e6c9f675ee487419c8d..a3367618f40a98f8e62bdfc9bac6bad18de4517a 100644
--- a/components/sync/engine_impl/commit.h
+++ b/components/sync/engine_impl/commit.h
@@ -17,17 +17,14 @@
#include "components/sync/base/syncer_error.h"
#include "components/sync/engine/model_safe_worker.h"
#include "components/sync/engine_impl/commit_contribution.h"
+#include "components/sync/engine_impl/cycle/nudge_tracker.h"
#include "components/sync/protocol/sync.pb.h"
-#include "components/sync/sessions_impl/nudge_tracker.h"
namespace syncer {
-namespace sessions {
-class StatusController;
-class SyncSession;
-}
-
class CommitProcessor;
+class StatusController;
+class SyncCycle;
class Syncer;
// This class wraps the actions related to building and executing a single
@@ -60,9 +57,9 @@ class Commit {
CommitProcessor* commit_processor,
ExtensionsActivity* extensions_activity);
- SyncerError PostAndProcessResponse(sessions::NudgeTracker* nudge_tracker,
- sessions::SyncSession* session,
- sessions::StatusController* status,
+ SyncerError PostAndProcessResponse(NudgeTracker* nudge_tracker,
+ SyncCycle* cycle,
+ StatusController* status,
ExtensionsActivity* extensions_activity);
// Cleans up state associated with this commit. Must be called before the
« no previous file with comments | « components/sync/engine_impl/clear_server_data.cc ('k') | components/sync/engine_impl/commit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698