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

Unified Diff: components/sync/engine_impl/syncer_proto_util.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/syncer.cc ('k') | components/sync/engine_impl/syncer_proto_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/syncer_proto_util.h
diff --git a/components/sync/engine_impl/syncer_proto_util.h b/components/sync/engine_impl/syncer_proto_util.h
index 4365822ddbee6372d05285bcb8c5e46007b5c5e4..017cc8fd39baeed90bad9023edf4d43f8b8b781a 100644
--- a/components/sync/engine_impl/syncer_proto_util.h
+++ b/components/sync/engine_impl/syncer_proto_util.h
@@ -12,7 +12,7 @@
#include "base/time/time.h"
#include "components/sync/base/model_type.h"
#include "components/sync/base/syncer_error.h"
-#include "components/sync/sessions_impl/sync_session.h"
+#include "components/sync/engine_impl/cycle/sync_cycle.h"
namespace sync_pb {
class ClientToServerMessage;
@@ -26,11 +26,8 @@ class SyncEntity;
namespace syncer {
class ServerConnectionManager;
-
-namespace sessions {
-class SyncProtocolError;
-class SyncSessionContext;
-}
+class SyncCycleContext;
+struct SyncProtocolError;
namespace syncable {
class Directory;
@@ -54,7 +51,7 @@ class SyncerProtoUtil {
static SyncerError PostClientToServerMessage(
sync_pb::ClientToServerMessage* msg,
sync_pb::ClientToServerResponse* response,
- sessions::SyncSession* session,
+ SyncCycle* cycle,
ModelTypeSet* partial_failure_data_types);
// Specifies where entity's position should be updated from the data in
@@ -130,7 +127,7 @@ class SyncerProtoUtil {
// Post the message using the scm, and do some processing on the returned
// headers. Decode the server response.
static bool PostAndProcessHeaders(ServerConnectionManager* scm,
- sessions::SyncSession* session,
+ SyncCycle* cycle,
const sync_pb::ClientToServerMessage& msg,
sync_pb::ClientToServerResponse* response);
« no previous file with comments | « components/sync/engine_impl/syncer.cc ('k') | components/sync/engine_impl/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698