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

Unified Diff: components/sync/driver/glue/sync_backend_host_core.cc

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/driver/glue/sync_backend_host_core.cc
diff --git a/components/sync/driver/glue/sync_backend_host_core.cc b/components/sync/driver/glue/sync_backend_host_core.cc
index f354916f17f94670982e6bad5e1c326e2d5b1168..b425d002499bf96f3958dcde56764d62bc63f0d6 100644
--- a/components/sync/driver/glue/sync_backend_host_core.cc
+++ b/components/sync/driver/glue/sync_backend_host_core.cc
@@ -20,11 +20,11 @@
#include "components/sync/device_info/local_device_info_provider_impl.h"
#include "components/sync/driver/glue/sync_backend_registrar.h"
#include "components/sync/driver/invalidation_adapter.h"
+#include "components/sync/engine/cycle/commit_counters.h"
+#include "components/sync/engine/cycle/status_counters.h"
+#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
+#include "components/sync/engine/cycle/update_counters.h"
#include "components/sync/engine/events/protocol_event.h"
-#include "components/sync/sessions/commit_counters.h"
-#include "components/sync/sessions/status_counters.h"
-#include "components/sync/sessions/sync_session_snapshot.h"
-#include "components/sync/sessions/update_counters.h"
#include "url/gurl.h"
// Helper macros to log with the syncer thread name; useful when there
@@ -130,7 +130,7 @@ SyncBackendHostCore::~SyncBackendHostCore() {
}
void SyncBackendHostCore::OnSyncCycleCompleted(
- const syncer::sessions::SyncSessionSnapshot& snapshot) {
+ const syncer::SyncCycleSnapshot& snapshot) {
if (!sync_loop_)
return;
DCHECK(sync_loop_->task_runner()->BelongsToCurrentThread());
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_core.h ('k') | components/sync/driver/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698