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

Unified Diff: components/sync/driver/sync_frontend.h

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/sync_frontend.h
diff --git a/components/sync/driver/sync_frontend.h b/components/sync/driver/sync_frontend.h
index ae2239a33223cb6abcb4ba87218bc518abcfe9b1..2e39302f795b7aa479c72588fea46553fff37e0e 100644
--- a/components/sync/driver/sync_frontend.h
+++ b/components/sync/driver/sync_frontend.h
@@ -79,13 +79,14 @@ class SyncFrontend {
syncer::ModelType type,
const syncer::UpdateCounters& counters) = 0;
- // Called when we receive an updated status counter for a directory type.
+ // Called when we receive an updated status counter for a datatype which is
pavely 2016/09/30 00:01:51 I don't think this comment needs to elaborate kind
Gang Wu 2016/10/01 07:14:09 Done.
+ // directory type or Unified Sync and Storage.
//
// Disabled by default. Enable by calling
// EnableDirectoryTypeDebugInfoForwarding() on the backend.
- virtual void OnDirectoryTypeStatusCounterUpdated(
+ virtual void OnDatatypeStatusCounterUpdated(
syncer::ModelType type,
- const syncer::StatusCounters& counters) = 0;
+ std::unique_ptr<syncer::StatusCounters> counters) = 0;
// The status of the connection to the sync server has changed.
virtual void OnConnectionStatusChange(syncer::ConnectionStatus status) = 0;

Powered by Google App Engine
This is Rietveld 408576698