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

Unified Diff: chrome/browser/resources/popular_sites_internals.js

Issue 1851803002: [NTP Popular Sites] Store country/version in prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 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
Index: chrome/browser/resources/popular_sites_internals.js
diff --git a/chrome/browser/resources/popular_sites_internals.js b/chrome/browser/resources/popular_sites_internals.js
index ce1294d6bb968aa86e177c9c344398622c5bcc54..3db3f3f7bd8074830039b88f6eae6d12fdc43908 100644
--- a/chrome/browser/resources/popular_sites_internals.js
+++ b/chrome/browser/resources/popular_sites_internals.js
@@ -33,6 +33,8 @@ cr.define('chrome.popular_sites_internals', function() {
function receiveSites(sites) {
jstProcess(new JsEvalContext(sites), $('sites'));
+ $('country').textContent = sites.country;
+ $('version').textContent = sites.version;
// Also clear the json string, since it's likely stale now.
$('json-value').textContent = '';
}

Powered by Google App Engine
This is Rietveld 408576698