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

Unified Diff: components/sync/core/sync_manager.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/core/sync_manager.h
diff --git a/components/sync/core/sync_manager.h b/components/sync/core/sync_manager.h
index 794625a96b8570c97e98321483a0d54790e3284a..7557d77804a79811cd19be4164465613557caac8 100644
--- a/components/sync/core/sync_manager.h
+++ b/components/sync/core/sync_manager.h
@@ -51,6 +51,7 @@ class InternalComponentsFactory;
class JsBackend;
class JsEventHandler;
class ProtocolEvent;
+class SyncCycleSnapshot;
class SyncEncryptionHandler;
class SyncScheduler;
class TypeDebugInfoObserver;
@@ -58,10 +59,6 @@ class UnrecoverableErrorHandler;
struct Experiments;
struct UserShare;
-namespace sessions {
-class SyncSessionSnapshot;
-} // namespace sessions
-
// Contains everything needed to talk to and identify a user account.
struct SyncCredentials {
SyncCredentials();
@@ -182,8 +179,7 @@ class SyncManager {
public:
// A round-trip sync-cycle took place and the syncer has resolved any
// conflicts that may have arisen.
- virtual void OnSyncCycleCompleted(
- const sessions::SyncSessionSnapshot& snapshot) = 0;
+ virtual void OnSyncCycleCompleted(const SyncCycleSnapshot& snapshot) = 0;
// Called when the status of the connection to the sync server has
// changed.
« no previous file with comments | « components/sync/core/internal_components_factory_impl.cc ('k') | components/sync/core/test/test_internal_components_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698