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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl.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_impl.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl.cc b/components/sync/driver/glue/sync_backend_host_impl.cc
index 011695920021c69a71198c7a5eea9759069f17f3..122d4803dbe7924eb11aac70fbcf42314a0078e6 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -446,8 +446,7 @@ SyncBackendHostImpl::Status SyncBackendHostImpl::GetDetailedStatus() {
return core_->sync_manager()->GetDetailedStatus();
}
-syncer::sessions::SyncSessionSnapshot
-SyncBackendHostImpl::GetLastSessionSnapshot() const {
+syncer::SyncCycleSnapshot SyncBackendHostImpl::GetLastCycleSnapshot() const {
return last_snapshot_;
}
@@ -627,7 +626,7 @@ void SyncBackendHostImpl::HandleInitializationFailureOnFrontendLoop() {
}
void SyncBackendHostImpl::HandleSyncCycleCompletedOnFrontendLoop(
- const syncer::sessions::SyncSessionSnapshot& snapshot) {
+ const syncer::SyncCycleSnapshot& snapshot) {
if (!frontend_)
return;
DCHECK(frontend_task_runner_->BelongsToCurrentThread());
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.h ('k') | components/sync/driver/glue/sync_backend_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698