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

Issue 2041343002: Storage manager: Show overall size information and size of Downloads. (Closed)

Created:
4 years, 6 months ago by fukino
Modified:
4 years, 6 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Storage manager: Show overall size information and size of Downloads. On the storage manager overlay, this CL adds following functions. - Shows overall storage information(total/used/available) using statvfs() on the local volume. - Shows size of Downloads directory by computing directory size recursively. - Opens up Files app when the label "Downloads" is clicked. The layout inside the overlay is tentative. BUG=591958 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation TEST=manually by flag #enable-storage-manager enabled. Committed: https://crrev.com/205d6d81b48dc72872c07c0f56bdd730129e60a1 Cr-Commit-Position: refs/heads/master@{#399057}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address comments and rebase on top of https://codereview.chromium.org/1995113002. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -3 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/storage_manager.css View 1 1 chunk +22 lines, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/storage_manager.html View 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/storage_manager.js View 1 2 chunks +49 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h View 1 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc View 1 3 chunks +116 lines, -1 line 0 comments Download

Messages

Total messages: 20 (6 generated)
fukino
dbeam@, could you take a look?
4 years, 6 months ago (2016-06-07 14:12:02 UTC) #4
Dan Beam
didn't get to this today (yet), but probably will look at tomorrow sorry, at a ...
4 years, 6 months ago (2016-06-08 02:07:13 UTC) #5
fukino
On 2016/06/08 02:07:13, Dan Beam wrote: > didn't get to this today (yet), but probably ...
4 years, 6 months ago (2016-06-08 02:17:04 UTC) #6
Dan Beam
you know we may be launching the new, Material Design settings in M53-54, right?
4 years, 6 months ago (2016-06-08 18:35:35 UTC) #7
Dan Beam
On 2016/06/08 18:35:35, Dan Beam wrote: > you know we may be launching the new, ...
4 years, 6 months ago (2016-06-09 04:26:03 UTC) #8
Dan Beam
https://codereview.chromium.org/2041343002/diff/1/chrome/browser/resources/options/chromeos/storage_manager.css File chrome/browser/resources/options/chromeos/storage_manager.css (right): https://codereview.chromium.org/2041343002/diff/1/chrome/browser/resources/options/chromeos/storage_manager.css#newcode13 chrome/browser/resources/options/chromeos/storage_manager.css:13: font-size: 13px; try to use a relative font size ...
4 years, 6 months ago (2016-06-09 04:49:40 UTC) #9
fukino
Thanks! I have two questions. https://codereview.chromium.org/2041343002/diff/1/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc File chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc (right): https://codereview.chromium.org/2041343002/diff/1/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc#newcode28 chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc:28: if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == ...
4 years, 6 months ago (2016-06-09 05:00:13 UTC) #10
fukino
Thank you! Please take another look. https://codereview.chromium.org/2041343002/diff/1/chrome/browser/resources/options/chromeos/storage_manager.css File chrome/browser/resources/options/chromeos/storage_manager.css (right): https://codereview.chromium.org/2041343002/diff/1/chrome/browser/resources/options/chromeos/storage_manager.css#newcode13 chrome/browser/resources/options/chromeos/storage_manager.css:13: font-size: 13px; On ...
4 years, 6 months ago (2016-06-09 15:39:38 UTC) #11
Dan Beam
lgtm but i'd rather just wait for sysinfo stuff to land first, leaving it up ...
4 years, 6 months ago (2016-06-09 17:24:30 UTC) #12
fukino
On 2016/06/09 17:24:30, Dan Beam wrote: > lgtm but i'd rather just wait for sysinfo ...
4 years, 6 months ago (2016-06-10 00:22:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041343002/20001
4 years, 6 months ago (2016-06-10 00:23:02 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-10 00:42:26 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 00:42:30 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 00:44:17 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/205d6d81b48dc72872c07c0f56bdd730129e60a1
Cr-Commit-Position: refs/heads/master@{#399057}

Powered by Google App Engine
This is Rietveld 408576698