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

Unified Diff: chrome/browser/ui/webui/downloads_ui_browsertest.js

Issue 253543002: web_dev_style: check webui browser tests as well. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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/ui/webui/downloads_ui_browsertest.js
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest.js b/chrome/browser/ui/webui/downloads_ui_browsertest.js
index f4e43c82f45f6cc652ee6333d070b229d5f39b76..d863df5093b6df7e9b121eee58bc87f5d96f4337 100644
--- a/chrome/browser/ui/webui/downloads_ui_browsertest.js
+++ b/chrome/browser/ui/webui/downloads_ui_browsertest.js
@@ -56,8 +56,10 @@ BaseDownloadsWebUITest.prototype = {
/**
* Creates a download object to be passed to the page, following the expected
* backend format (see downloads_dom_handler.cc).
- * @param {Number} A unique ID for the download.
- * @param {Number} The time the download purportedly started.
+ * @param {number} A unique ID for the download.
+ * @param {number} The time the download purportedly started.
+ * @return {!Object} A fake download object.
+ * @private
*/
createDownload_: function(id, timestamp) {
var download = {};
@@ -78,7 +80,6 @@ BaseDownloadsWebUITest.prototype = {
download.percent = 100;
download.progress_status_text = 'done';
download.received = 128;
Tyler Breisacher (Chromium) 2014/04/28 23:13:26 Out of curiosity, do you know if there's a good re
Dan Beam 2014/04/28 23:54:07 Done.
-
return download;
},

Powered by Google App Engine
This is Rietveld 408576698