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

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

Issue 2570673004: Remove host restrictions from snippets (Closed)
Patch Set: Remove host restrictions from snippets Created 4 years 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/snippets_internals.js
diff --git a/chrome/browser/resources/snippets_internals.js b/chrome/browser/resources/snippets_internals.js
index 3cf3560d2ff095c54d029fce7078523c79b5a0c4..249e7fc71fc278bd978c9e8c810c9b0e1e9cc31b 100644
--- a/chrome/browser/resources/snippets_internals.js
+++ b/chrome/browser/resources/snippets_internals.js
@@ -10,7 +10,7 @@ cr.define('chrome.SnippetsInternals', function() {
function initialize() {
$('submit-download').addEventListener('click', function(event) {
- chrome.send('download', [$('hosts-input').value]);
+ chrome.send('download');
event.preventDefault();
});

Powered by Google App Engine
This is Rietveld 408576698