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

Unified Diff: sync/internal_api/public/sessions/status_counters.cc

Issue 290023003: sync: Add UI code for per type debug counters (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Update comment and rebase Created 6 years, 7 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
« no previous file with comments | « sync/internal_api/public/sessions/status_counters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sessions/status_counters.cc
diff --git a/sync/internal_api/public/sessions/status_counters.cc b/sync/internal_api/public/sessions/status_counters.cc
index b3547d1a35b2382c096455502d7aa79d089b68bf..48c94d90c5d738f8a30de1a067190972cecc3a92 100644
--- a/sync/internal_api/public/sessions/status_counters.cc
+++ b/sync/internal_api/public/sessions/status_counters.cc
@@ -10,13 +10,13 @@
namespace syncer {
StatusCounters::StatusCounters()
- : num_total_entries(0) {}
+ : num_entries(0) {}
StatusCounters::~StatusCounters() {}
scoped_ptr<base::DictionaryValue> StatusCounters::ToValue() const {
scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue());
- value->SetInteger("numTotalEntries", num_total_entries);
+ value->SetInteger("numEntries", num_entries);
return value.Pass();
}
« no previous file with comments | « sync/internal_api/public/sessions/status_counters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698