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

Unified Diff: components/sync/engine_impl/directory_update_handler.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
Index: components/sync/engine_impl/directory_update_handler.h
diff --git a/components/sync/engine_impl/directory_update_handler.h b/components/sync/engine_impl/directory_update_handler.h
index 67496536b34aaaadc8ef4dcc43a99f71da580eda..620ee7f5e87b4e70626380428a724971f9c4c3af 100644
--- a/components/sync/engine_impl/directory_update_handler.h
+++ b/components/sync/engine_impl/directory_update_handler.h
@@ -23,17 +23,14 @@ class GetUpdatesResponse;
namespace syncer {
-namespace sessions {
+class DirectoryTypeDebugInfoEmitter;
+class ModelSafeWorker;
class StatusController;
-}
namespace syncable {
class Directory;
}
-class DirectoryTypeDebugInfoEmitter;
-class ModelSafeWorker;
-
// This class represents the syncable::Directory's processes for requesting and
// processing updates from the sync server.
//
@@ -57,9 +54,9 @@ class DirectoryUpdateHandler : public UpdateHandler {
const sync_pb::DataTypeProgressMarker& progress_marker,
const sync_pb::DataTypeContext& mutated_context,
const SyncEntityList& applicable_updates,
- sessions::StatusController* status) override;
- void ApplyUpdates(sessions::StatusController* status) override;
- void PassiveApplyUpdates(sessions::StatusController* status) override;
+ StatusController* status) override;
+ void ApplyUpdates(StatusController* status) override;
+ void PassiveApplyUpdates(StatusController* status) override;
private:
friend class DirectoryUpdateHandlerApplyUpdateTest;
@@ -77,7 +74,7 @@ class DirectoryUpdateHandler : public UpdateHandler {
// Their types must match this update handler's type.
void UpdateSyncEntities(syncable::ModelNeutralWriteTransaction* trans,
const SyncEntityList& applicable_updates,
- sessions::StatusController* status);
+ StatusController* status);
// Expires entries according to GC directives.
void ExpireEntriesIfNeeded(
@@ -93,7 +90,7 @@ class DirectoryUpdateHandler : public UpdateHandler {
const sync_pb::DataTypeProgressMarker& progress_marker) const;
// Skips all checks and goes straight to applying the updates.
- SyncerError ApplyUpdatesImpl(sessions::StatusController* status);
+ SyncerError ApplyUpdatesImpl(StatusController* status);
// Creates root node for the handled model type.
void CreateTypeRoot(syncable::ModelNeutralWriteTransaction* trans);
« no previous file with comments | « components/sync/engine_impl/directory_commit_contributor.cc ('k') | components/sync/engine_impl/directory_update_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698