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

Issue 211050: Implemented upload progress indicator in status bar. (Closed)

Created:
11 years, 3 months ago by Simon Radford
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google), Simon Radford
Visibility:
Public.

Description

Implemented upload progress indicator in status bar. When sending an HTTP POST request with sufficiently large payload data (such as uploading a file or several), the status bar should display the progress in the form of a percentage. The ResourceDispatcherHost periodically sends upload progress messages to the UI thread as well as to the renderer. If an upload is occurring, other potential LoadStateChanged messages to the same RenderViewHost are ignored; this prevents the upload progress display from being interrupted periodically by "Waiting for <site>" messages. Original patch by simonrad@chromium.org r=darin@chromium.org BUG=4715 TEST=Try uploading one or more files (e.g. at a file hosting site) and confirm that the percentage is shown in the status bar.

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -20 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 6 chunks +46 lines, -12 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 4 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Simon Radford
11 years, 3 months ago (2009-09-22 02:28:25 UTC) #1
darin (slow to review)
http://codereview.chromium.org/211050/diff/1/2 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/211050/diff/1/2#newcode2831 Line 2831: Sending request... (uploading <ph name="PROGRESS_PERCENT">$1<ex>99</ex></ph>% complete) I believe ...
11 years, 3 months ago (2009-09-23 07:36:50 UTC) #2
Simon Radford
New patch uploaded. Fixed all comments except one. Using "Uploading (xx%)..." as the UI text, ...
11 years, 3 months ago (2009-09-25 02:47:02 UTC) #3
darin (slow to review)
LGTM
11 years, 3 months ago (2009-09-25 03:52:06 UTC) #4
darin (slow to review)
11 years, 3 months ago (2009-09-25 04:24:39 UTC) #5
Committed as r27169 :-)

On Thu, Sep 24, 2009 at 8:52 PM, <darin@chromium.org> wrote:

> LGTM
>
>
> http://codereview.chromium.org/211050
>

Powered by Google App Engine
This is Rietveld 408576698