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

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

Issue 1927993002: Allow dumping raw json fetched from the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some fixes 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/snippets_internals.js
diff --git a/chrome/browser/resources/snippets_internals.js b/chrome/browser/resources/snippets_internals.js
index 84164bba9684fc9e2013b3b563081822383f2ceb..30efc015e4e01c1c7f4960641f093680a51fc96a 100644
--- a/chrome/browser/resources/snippets_internals.js
+++ b/chrome/browser/resources/snippets_internals.js
@@ -7,7 +7,8 @@ cr.define('chrome.SnippetsInternals', function() {
function initialize() {
$('submit-download').addEventListener('click', function(event) {
- chrome.send('download', [$('hosts-input').value]);
+ chrome.send('download',
+ [$('hosts-input').value, $('download-dump').checked]);
event.preventDefault();
});

Powered by Google App Engine
This is Rietveld 408576698