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

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

Issue 2374913002: [USS] Show USS counters in about:sync page (Closed)
Patch Set: For IOS Created 4 years, 3 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 de9b155fa0dab8be4f71f629ebc2f184cfd5ad00..c2d8213b6e498293eaab1301d91cf5047a7ae3a1 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -796,10 +796,10 @@ void SyncBackendHostImpl::HandleDirectoryUpdateCountersUpdatedOnFrontendLoop(
void SyncBackendHostImpl::HandleDirectoryStatusCountersUpdatedOnFrontendLoop(
syncer::ModelType type,
- const syncer::StatusCounters& counters) {
+ std::unique_ptr<syncer::StatusCounters> counters) {
if (!frontend_)
return;
- frontend_->OnDirectoryTypeStatusCounterUpdated(type, counters);
+ frontend_->OnDatatypeStatusCounterUpdated(type, std::move(counters));
}
void SyncBackendHostImpl::UpdateInvalidationVersions(

Powered by Google App Engine
This is Rietveld 408576698