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

Unified Diff: components/sync/core/internal_components_factory.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/core/DEPS ('k') | components/sync/core/internal_components_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/internal_components_factory.h
diff --git a/components/sync/core/internal_components_factory.h b/components/sync/core/internal_components_factory.h
index 6512d8733b9b0c7dd6d13c6ed746d2fa8535030c..779415d0d8a414c60b59c605347b28615512ab88 100644
--- a/components/sync/core/internal_components_factory.h
+++ b/components/sync/core/internal_components_factory.h
@@ -19,17 +19,14 @@
namespace syncer {
class CancelationSignal;
+class DebugInfoGetter;
class ExtensionsActivity;
class ModelTypeRegistry;
class ServerConnectionManager;
+class SyncCycleContext;
class SyncEngineEventListener;
class SyncScheduler;
-namespace sessions {
-class DebugInfoGetter;
-class SyncSessionContext;
-}
-
namespace syncable {
class Directory;
class DirectoryBackingStore;
@@ -88,15 +85,15 @@ class InternalComponentsFactory {
virtual std::unique_ptr<SyncScheduler> BuildScheduler(
const std::string& name,
- sessions::SyncSessionContext* context,
+ SyncCycleContext* context,
CancelationSignal* cancelation_signal) = 0;
- virtual std::unique_ptr<sessions::SyncSessionContext> BuildContext(
+ virtual std::unique_ptr<SyncCycleContext> BuildContext(
ServerConnectionManager* connection_manager,
syncable::Directory* directory,
ExtensionsActivity* extensions_activity,
const std::vector<SyncEngineEventListener*>& listeners,
- sessions::DebugInfoGetter* debug_info_getter,
+ DebugInfoGetter* debug_info_getter,
ModelTypeRegistry* model_type_registry,
const std::string& invalidator_client_id) = 0;
« no previous file with comments | « components/sync/core/DEPS ('k') | components/sync/core/internal_components_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698