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

Unified Diff: chrome/browser/resources/sync_internals/data.js

Issue 138563003: Datadump on sync_internals output REDACTED instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/sync_internals/data.js
diff --git a/chrome/browser/resources/sync_internals/data.js b/chrome/browser/resources/sync_internals/data.js
index d5084db658058261ddc219ee53a59173b689526e..471759e9cefc46d0f674ddcb8031cc74ddc1d317 100644
--- a/chrome/browser/resources/sync_internals/data.js
+++ b/chrome/browser/resources/sync_internals/data.js
@@ -67,6 +67,9 @@ function getFields(node) {
var version = node['BASE_VERSION'];
fieldVal = versionToDateString(version);
} else if ((field == 'SERVER_SPECIFICS' || field == 'SPECIFICS') &&
+ (!$('include-specifics').checked)) {
+ fieldVal = 'REDACTED';
+ } else if ((field == 'SERVER_SPECIFICS' || field == 'SPECIFICS') &&
$('include-specifics').checked) {
fieldVal = JSON.stringify(node[field]);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698