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

Unified Diff: components/sync/driver/resources/about.js

Issue 2834453006: [Sync] Update Type Info section of sync-internals. (Closed)
Patch Set: Reworked some of the variables in GetTypeStatusMap(). Created 3 years, 8 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 | « components/sync/driver/resources/about.html ('k') | components/sync/engine/model_safe_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/resources/about.js
diff --git a/components/sync/driver/resources/about.js b/components/sync/driver/resources/about.js
index cebf496e805b3cc336daad67a1436d9fb3776d23..a0b657d12e89fcaa5ad9e32c2e3e5e8d346ffc1a 100644
--- a/components/sync/driver/resources/about.js
+++ b/components/sync/driver/resources/about.js
@@ -43,10 +43,10 @@ cr.define('chrome.sync.about_tab', function() {
if (row.name == modelType) {
// There are three types of counters, only "status" counters have these
// fields. Keep the old values if updated fields are not present.
- if (counters.numEntriesAndTombstones) {
+ if (counters.numEntriesAndTombstones !== undefined) {
row.num_entries = counters.numEntriesAndTombstones;
}
- if (counters.numEntries) {
+ if (counters.numEntries !== undefined) {
row.num_live = counters.numEntries;
}
}
« no previous file with comments | « components/sync/driver/resources/about.html ('k') | components/sync/engine/model_safe_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698