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

Issue 423363002: Add 'App Size' to App Info Dialog (Closed)

Created:
6 years, 4 months ago by sashab
Modified:
6 years, 4 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org, benwells
Project:
chromium
Visibility:
Public.

Description

Add 'App Size' to App Info Dialog Added the size of the app to the App Info dialog, which is computed by asynchronously calculating the recursive size of all files in the app's directory on disk. Displays 'Calculating' while the calculation is in progress, and then the app's size when it's complete, formatted in a human-readable way. Based on CL 425933002, which adds the Installed and Last Run dates to the dialog. BUG=395923 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287007

Patch Set 1 #

Patch Set 2 : Removed commented-out function #

Total comments: 6

Patch Set 3 : Switched to use base::PostTaskAndReplyWithResult #

Patch Set 4 : Fixed upstream #

Total comments: 2

Patch Set 5 : Nit fix #

Patch Set 6 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.h View 1 2 3 5 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc View 1 2 3 4 6 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
sashab
tapted@ please review first, and advise on the lifetime stuff if possible :-) benwells@ to ...
6 years, 4 months ago (2014-07-30 05:15:40 UTC) #1
tapted
Have you discussed whether this is an accurate measure of size an app takes up? ...
6 years, 4 months ago (2014-07-31 00:42:04 UTC) #2
sashab
https://codereview.chromium.org/423363002/diff/20001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc (right): https://codereview.chromium.org/423363002/diff/20001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc#newcode336 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc:336: content::BrowserThread::PostTaskAndReply( On 2014/07/31 00:42:04, tapted wrote: > I think ...
6 years, 4 months ago (2014-07-31 05:00:46 UTC) #3
sashab
Oops, and I meant to say - yes this has been discussed. See bug but ...
6 years, 4 months ago (2014-07-31 05:01:10 UTC) #4
tapted
I think you upstream branch is pointing to the wrong thing
6 years, 4 months ago (2014-07-31 06:26:42 UTC) #5
sashab
Oops, thanks. Fixed. :)
6 years, 4 months ago (2014-07-31 07:13:42 UTC) #6
tapted
lgtm (with a nit) https://codereview.chromium.org/423363002/diff/80001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc (right): https://codereview.chromium.org/423363002/diff/80001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc#newcode296 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc:296: if (size_title_ && size_value_) nit: ...
6 years, 4 months ago (2014-07-31 07:39:57 UTC) #7
sashab
https://codereview.chromium.org/423363002/diff/80001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc (right): https://codereview.chromium.org/423363002/diff/80001/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc#newcode296 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc:296: if (size_title_ && size_value_) On 2014/07/31 07:39:57, tapted wrote: ...
6 years, 4 months ago (2014-07-31 10:06:05 UTC) #8
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 4 months ago (2014-07-31 10:06:09 UTC) #9
sashab
The CQ bit was unchecked by sashab@chromium.org
6 years, 4 months ago (2014-07-31 10:06:13 UTC) #10
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 4 months ago (2014-08-01 01:00:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/423363002/120001
6 years, 4 months ago (2014-08-01 01:04:42 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-01 08:33:02 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 15:44:39 UTC) #14
Message was sent while issue was closed.
Change committed as 287007

Powered by Google App Engine
This is Rietveld 408576698