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

Issue 10202025: fix downloads to use loadTimeData (Closed)

Created:
8 years, 8 months ago by Evan Stade
Modified:
8 years, 7 months ago
Reviewers:
benjhayden, Dan Beam
CC:
chromium-reviews, asanka, arv (Not doing code reviews), Randy Smith (Not in Mondays)
Visibility:
Public.

Description

fix downloads to use loadTimeData BUG=122753 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134582

Patch Set 1 #

Patch Set 2 : make upload relative #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -26 lines) Patch
M chrome/browser/resources/downloads/downloads.html View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.js View 7 chunks +21 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/downloads_ui.cc View 1 chunk +3 lines, -1 line 2 comments Download

Messages

Total messages: 8 (0 generated)
Evan Stade
8 years, 8 months ago (2012-04-26 20:36:15 UTC) #1
Randy Smith (Not in Mondays)
I'd like Ben to be on top of changes to the downloads page; Ben, could ...
8 years, 8 months ago (2012-04-26 22:02:28 UTC) #2
benjhayden
lgtm
8 years, 8 months ago (2012-04-27 13:43:40 UTC) #3
Dan Beam
this should obviously wait for your CL to land which actually adds GetStringF, ;) http://codereview.chromium.org/10202025/diff/1001/chrome/browser/ui/webui/downloads_ui.cc ...
8 years, 8 months ago (2012-04-27 18:32:39 UTC) #4
Evan Stade
http://codereview.chromium.org/10202025/diff/1001/chrome/browser/ui/webui/downloads_ui.cc File chrome/browser/ui/webui/downloads_ui.cc (right): http://codereview.chromium.org/10202025/diff/1001/chrome/browser/ui/webui/downloads_ui.cc#newcode99 chrome/browser/ui/webui/downloads_ui.cc:99: source->set_use_json_js_format_v2(); On 2012/04/27 18:32:39, Dan Beam wrote: > his ...
8 years, 8 months ago (2012-04-28 00:48:03 UTC) #5
Dan Beam
lgtm
8 years, 7 months ago (2012-04-30 18:24:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/10202025/1001
8 years, 7 months ago (2012-04-30 18:38:33 UTC) #7
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 18:38:48 UTC) #8
Presubmit check for 10202025-1001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Messages **
See the JavaScript style guide at
http://www.chromium.org/developers/web-development-style-guide#TOC-JavaScript
and if you have any feedback about the JavaScript PRESUBMIT check, contact
tbreisacher@chromium.org

** Presubmit Warnings **
Found JavaScript style violations in
chrome/browser/resources/downloads/downloads.js:
  line 10: E0210: Missing docs for parameter: "node"
function showInline(node, isShow) {
                                ^^
  line 10: E0210: Missing docs for parameter: "isShow"
function showInline(node, isShow) {
                                ^^
  line 22: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 33: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 47: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 204: E0212: Parameter mismatch: got "downloads", expected "array"
Downloads.prototype.isUpdateNeeded = function(downloads) {
                                                       ^^
  line 211: E0002: Missing space before "("
    if(this.downloads_[i].url_ != downloads[i].url)
      ^
  line 362: E0010: Missing semicolon at end of line
}
^
  line 548: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 557: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 566: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 575: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 585: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 594: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 603: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 612: E0217: Missing @return JsDoc in function with non-trivial return
 */
 ^^
  line 681: E0210: Missing docs for parameter: "results"
function downloadsList(results) {
                              ^^
  line 695: E0210: Missing docs for parameter: "results"
function downloadUpdated(results) {
                                ^^

Presubmit checks took 1.5s to calculate.

Powered by Google App Engine
This is Rietveld 408576698