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

Issue 681693003: Added debugMe method. (Closed)

Created:
6 years, 1 month ago by yawano
Modified:
6 years, 1 month ago
Reviewers:
mtomasz
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

Added debugMe method. BUG=426714 TEST=Open an inspector with Ctrl+Shift+J: Type fileManager.debugMe() in the console. Sample Output: Debug information. 1. fileManager.initializeQueue_.pendingTasks_ Length: 2 AsyncUtil.GroupTask - name: (unnamed#8) - dependencies: AsyncUtil.GroupTask - name: (unnamed#9) - dependencies: UnexistTask1,UnexistTask2 2. VolumeManagerWrapper VolumeManagerWrapper - Initialized: true - VolumeManager: VolumeManager - MountQueue_: AsyncUtil.ConcurrentQueue - WaitingTasksCount: 0 - RunningTasksCount: 0 - isCancelled: false End of debug information. Committed: https://crrev.com/0ba4af88373dea62f6a78feb76a75b02c15e4a94 Cr-Commit-Position: refs/heads/master@{#301589}

Patch Set 1 #

Patch Set 2 : Changed output of GroupTask.toString(). #

Total comments: 16

Patch Set 3 : Changed the output of VolumeManagerWrapper. #

Total comments: 4

Patch Set 4 : Added more debug information of VolumeManager. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -6 lines) Patch
M ui/file_manager/file_manager/background/js/volume_manager.js View 1 2 3 2 chunks +20 lines, -0 lines 2 comments Download
M ui/file_manager/file_manager/common/js/async_util.js View 1 2 3 4 chunks +47 lines, -5 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js View 1 2 3 2 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
yawano
Added fileManager.debugMe(). PTAL. Thanks.
6 years, 1 month ago (2014-10-27 04:05:50 UTC) #2
mtomasz
https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/common/js/async_util.js File ui/file_manager/file_manager/common/js/async_util.js (right): https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/common/js/async_util.js#newcode155 ui/file_manager/file_manager/common/js/async_util.js:155: * @return string String representation of the instance. nit: ...
6 years, 1 month ago (2014-10-27 04:15:44 UTC) #3
yawano
Changed the output of VolumeManagerWrapper. PTAL. Thanks. https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/common/js/async_util.js File ui/file_manager/file_manager/common/js/async_util.js (right): https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/common/js/async_util.js#newcode155 ui/file_manager/file_manager/common/js/async_util.js:155: * @return ...
6 years, 1 month ago (2014-10-27 06:52:52 UTC) #4
mtomasz
https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/foreground/js/file_manager.js File ui/file_manager/file_manager/foreground/js/file_manager.js (right): https://codereview.chromium.org/681693003/diff/20001/ui/file_manager/file_manager/foreground/js/file_manager.js#newcode3879 ui/file_manager/file_manager/foreground/js/file_manager.js:3879: var keys = Object.keys(this.initializeQueue_.pendingTasks_); Please create a getter instead ...
6 years, 1 month ago (2014-10-27 08:00:36 UTC) #5
yawano
Thank you for the review. Changed to provide debug information of VolumeManager even when initilization ...
6 years, 1 month ago (2014-10-27 09:01:13 UTC) #6
mtomasz
Sorry for late. Basically looks good to me, with one question. https://codereview.chromium.org/681693003/diff/60001/ui/file_manager/file_manager/background/js/volume_manager.js File ui/file_manager/file_manager/background/js/volume_manager.js (right): ...
6 years, 1 month ago (2014-10-28 06:09:03 UTC) #7
yawano
Thank you for the review. https://codereview.chromium.org/681693003/diff/60001/ui/file_manager/file_manager/background/js/volume_manager.js File ui/file_manager/file_manager/background/js/volume_manager.js (right): https://codereview.chromium.org/681693003/diff/60001/ui/file_manager/file_manager/background/js/volume_manager.js#newcode890 ui/file_manager/file_manager/background/js/volume_manager.js:890: ' ' + this.mountQueue_.toString().replace(/\n/g, ...
6 years, 1 month ago (2014-10-28 06:11:50 UTC) #8
mtomasz
lgtm
6 years, 1 month ago (2014-10-28 06:34:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/681693003/60001
6 years, 1 month ago (2014-10-28 07:00:00 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-28 07:42:34 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 07:43:11 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0ba4af88373dea62f6a78feb76a75b02c15e4a94
Cr-Commit-Position: refs/heads/master@{#301589}

Powered by Google App Engine
This is Rietveld 408576698