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

Issue 657253004: Fix suspicious code detected by closure compiler. (Closed)

Created:
6 years, 2 months ago by fukino
Modified:
6 years, 2 months ago
Reviewers:
benwells, hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix suspicious code detected by closure compiler. BUG=406995 TBR=benwells@chromium.org TEST=run browser_test --gtest_filter=*FileManager* Committed: https://crrev.com/e89e058e30e09e1b67be326e8e966ceadc09d08f Cr-Commit-Position: refs/heads/master@{#300419}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Reflect review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -33 lines) Patch
M chrome/common/extensions/api/file_manager_private.idl View 1 1 chunk +5 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/background/js/background.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/drive_sync_handler.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/file_operation_manager.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/common/js/util.js View 2 chunks +4 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/directory_model.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_tasks.js View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_transfer_controller.js View 4 chunks +5 lines, -5 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/byte_reader.js View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/share_client.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/directory_tree.js View 1 1 chunk +5 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_grid.js View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_table.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js View 5 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
fukino
hirono@, could you take a look? Thanks!
6 years, 2 months ago (2014-10-17 08:10:00 UTC) #2
hirono
https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/background/js/drive_sync_handler.js File ui/file_manager/file_manager/background/js/drive_sync_handler.js (right): https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/background/js/drive_sync_handler.js#newcode157 ui/file_manager/file_manager/background/js/drive_sync_handler.js:157: chrome.fileManagerPrivate.cancelFileTransfers(); CancelFileTransfersCallback is optional? https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/extensions/api/file_manager_private.idl&l=671 https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/common/js/util.js File ui/file_manager/file_manager/common/js/util.js (right): ...
6 years, 2 months ago (2014-10-17 08:32:09 UTC) #3
fukino
Thanks!! https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/background/js/drive_sync_handler.js File ui/file_manager/file_manager/background/js/drive_sync_handler.js (right): https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/background/js/drive_sync_handler.js#newcode157 ui/file_manager/file_manager/background/js/drive_sync_handler.js:157: chrome.fileManagerPrivate.cancelFileTransfers(); On 2014/10/17 08:32:08, hirono wrote: > CancelFileTransfersCallback ...
6 years, 2 months ago (2014-10-17 10:03:50 UTC) #4
hirono
lgtm! https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/common/js/util.js File ui/file_manager/file_manager/common/js/util.js (right): https://codereview.chromium.org/657253004/diff/1/ui/file_manager/file_manager/common/js/util.js#newcode463 ui/file_manager/file_manager/common/js/util.js:463: keys.sort(function(a, b) { return map[a].expire - map[b].expire; }); ...
6 years, 2 months ago (2014-10-17 10:16:56 UTC) #5
fukino
benwells@, could you take a look at chrome/common/extensions/api/file_manager_private.idl? I made the callback optional as the ...
6 years, 2 months ago (2014-10-17 10:25:02 UTC) #7
fukino
TBRed benwells for simple modification on file_manager_private.idl (made one parameter optional)
6 years, 2 months ago (2014-10-21 01:18:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657253004/20001
6 years, 2 months ago (2014-10-21 01:19:12 UTC) #10
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-21 03:20:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657253004/20001
6 years, 2 months ago (2014-10-21 03:22:31 UTC) #14
benwells
lgtm. In future please ping or find another reviewer instead of tbr'ing. Changes being simple ...
6 years, 2 months ago (2014-10-21 03:53:27 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-21 04:15:58 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e89e058e30e09e1b67be326e8e966ceadc09d08f Cr-Commit-Position: refs/heads/master@{#300419}
6 years, 2 months ago (2014-10-21 04:17:24 UTC) #17
fukino
6 years, 2 months ago (2014-10-21 04:23:53 UTC) #18
Message was sent while issue was closed.
On 2014/10/21 03:53:27, benwells wrote:
> lgtm. In future please ping or find another reviewer instead of tbr'ing.
Changes
> being simple isn't a valid reason to tbr.

Thank you Ben! I misunderstood TBR. I'll use it in right way from next time.

Powered by Google App Engine
This is Rietveld 408576698