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

Issue 270453004: Pepper: Clean up ProgressEvent logic. (Closed)

Created:
6 years, 7 months ago by teravest
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Pepper: Clean up ProgressEvent logic. This simplifies NexeLoadManager, which is getting pretty big. This also removes an unused field from ProgressEvent, and adds a convenience function for posting a task to dispatch a progress event from the main thread, which is often necessary to ensure that progress events are posted to the DOM after other state changes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269362 R=dmichael@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269784

Patch Set 1 #

Total comments: 11

Patch Set 2 : fixes for dmichael #

Patch Set 3 : Remove non-posting version #

Patch Set 4 : probable crash fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -181 lines) Patch
M components/nacl.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.h View 1 chunk +0 lines, -25 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 2 11 chunks +19 lines, -120 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 2 chunks +7 lines, -36 lines 0 comments Download
A components/nacl/renderer/progress_event.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A components/nacl/renderer/progress_event.cc View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
teravest
6 years, 7 months ago (2014-05-06 22:27:48 UTC) #1
teravest
ping?
6 years, 7 months ago (2014-05-08 15:46:21 UTC) #2
dmichael (off chromium)
lgtm https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode656 components/nacl/renderer/ppb_nacl_private_impl.cc:656: event.total_bytes = total_bytes; I don't particularly care, but ...
6 years, 7 months ago (2014-05-08 16:19:02 UTC) #3
teravest
https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode656 components/nacl/renderer/ppb_nacl_private_impl.cc:656: event.total_bytes = total_bytes; On 2014/05/08 16:19:02, dmichael wrote: > ...
6 years, 7 months ago (2014-05-08 16:42:02 UTC) #4
dmichael (off chromium)
https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/progress_event.h File components/nacl/renderer/progress_event.h (right): https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/progress_event.h#newcode44 components/nacl/renderer/progress_event.h:44: void DispatchProgressEvent(PP_Instance instance, const ProgressEvent& event); Two reasons not ...
6 years, 7 months ago (2014-05-08 16:49:11 UTC) #5
dmichael (off chromium)
On 2014/05/08 16:49:11, dmichael wrote: > https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/progress_event.h > File components/nacl/renderer/progress_event.h (right): > > https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/progress_event.h#newcode44 > ...
6 years, 7 months ago (2014-05-08 16:50:10 UTC) #6
teravest
On Thu, May 8, 2014 at 10:49 AM, <dmichael@chromium.org> wrote: > > https://codereview.chromium.org/270453004/diff/1/components/nacl/renderer/progress_event.h > File ...
6 years, 7 months ago (2014-05-08 16:50:46 UTC) #7
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-08 18:01:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/270453004/40001
6 years, 7 months ago (2014-05-08 18:06:22 UTC) #9
commit-bot: I haz the power
Change committed as 269362
6 years, 7 months ago (2014-05-09 17:39:04 UTC) #10
hamaji
A revert of this CL has been created in https://codereview.chromium.org/275403004/ by hamaji@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-12 07:11:56 UTC) #11
hamaji
I tried the patch set 4 locally, and it is working for us.
6 years, 7 months ago (2014-05-12 14:29:15 UTC) #12
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-12 14:32:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/270453004/60001
6 years, 7 months ago (2014-05-12 14:32:45 UTC) #14
teravest
6 years, 7 months ago (2014-05-12 15:30:45 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 manually as r269784 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698