Index: components/ntp_tiles/webui/resources/popular_sites_internals.js |
diff --git a/components/ntp_tiles/webui/resources/popular_sites_internals.js b/components/ntp_tiles/webui/resources/popular_sites_internals.js |
index 10a4010716af0aa28f807816d0ca32381c98237f..389a10d613faca46efd02b6c0056e10fe6530ded 100644 |
--- a/components/ntp_tiles/webui/resources/popular_sites_internals.js |
+++ b/components/ntp_tiles/webui/resources/popular_sites_internals.js |
@@ -9,6 +9,7 @@ cr.define('chrome.popular_sites_internals', function() { |
function submitUpdate(event) { |
$('download-result').textContent = ''; |
chrome.send('update', [$('override-url').value, |
+ $('override-path').value, |
$('override-country').value, |
$('override-version').value]); |
event.preventDefault(); |
@@ -27,8 +28,9 @@ cr.define('chrome.popular_sites_internals', function() { |
chrome.send('registerForEvents'); |
} |
- function receiveOverrides(url, country, version) { |
+ function receiveOverrides(url, path, country, version) { |
$('override-url').value = url; |
+ $('override-path').value = path; |
$('override-country').value = country; |
$('override-version').value = version; |
} |
@@ -59,4 +61,3 @@ cr.define('chrome.popular_sites_internals', function() { |
document.addEventListener('DOMContentLoaded', |
chrome.popular_sites_internals.initialize); |
- |