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

Issue 276423003: Pepper: Nexe downloading out of the trusted plugin. (Closed)

Created:
6 years, 7 months ago by teravest
Modified:
6 years, 7 months ago
Reviewers:
bbudge
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Visibility:
Public.

Description

Pepper: Nexe downloading out of the trusted plugin. This moves the logic for nexe downloading outside the trusted plugin. This is part of a series of changes to remove FileDownloader and its associated logic. I've tried to make this change small so it will be easy to review. A followup change will clean up some of the accounting logic post-download to make this path simpler and easier to follow. BUG=370556 R=bbudge@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271090

Patch Set 1 : Add PlatformFile include #

Total comments: 20

Patch Set 2 : fixes for bbudge #

Patch Set 3 : rebased #

Patch Set 4 : better memory management #

Patch Set 5 : rebased #

Total comments: 22

Patch Set 6 : rebased #

Patch Set 7 : windows fix and stuff for bill #

Total comments: 8

Patch Set 8 : various nit fixes #

Patch Set 9 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -193 lines) Patch
M components/nacl.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + components/nacl/renderer/file_downloader.h View 1 2 3 4 5 6 7 8 3 chunks +31 lines, -17 lines 0 comments Download
A components/nacl/renderer/file_downloader.cc View 1 2 3 4 5 6 7 1 chunk +94 lines, -0 lines 0 comments Download
M components/nacl/renderer/manifest_downloader.h View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -6 lines 0 comments Download
M components/nacl/renderer/manifest_downloader.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -3 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -10 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 4 5 6 7 8 7 chunks +190 lines, -48 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -13 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -13 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 3 4 5 6 2 chunks +5 lines, -10 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 3 4 5 6 7 8 7 chunks +47 lines, -64 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
teravest
6 years, 7 months ago (2014-05-12 21:48:34 UTC) #1
bbudge
https://codereview.chromium.org/276423003/diff/80001/components/nacl/renderer/file_downloader.cc File components/nacl/renderer/file_downloader.cc (right): https://codereview.chromium.org/276423003/diff/80001/components/nacl/renderer/file_downloader.cc#newcode49 components/nacl/renderer/file_downloader.cc:49: status_code_ = response.httpStatusCode(); Move this before previous statement, and ...
6 years, 7 months ago (2014-05-12 22:32:05 UTC) #2
teravest
I'm still investigating the Windows "bad ELF magic" failures. https://codereview.chromium.org/276423003/diff/80001/components/nacl/renderer/file_downloader.cc File components/nacl/renderer/file_downloader.cc (right): https://codereview.chromium.org/276423003/diff/80001/components/nacl/renderer/file_downloader.cc#newcode49 components/nacl/renderer/file_downloader.cc:49: ...
6 years, 7 months ago (2014-05-13 17:05:32 UTC) #3
teravest
It's something ugly with tests hanging after I changed the memory management for WebURLLoader; I'll ...
6 years, 7 months ago (2014-05-13 21:36:40 UTC) #4
teravest
Testing on Windows locally looks good. Mind taking another look?
6 years, 7 months ago (2014-05-14 17:03:20 UTC) #5
teravest
I'm investigating the Windows failures.
6 years, 7 months ago (2014-05-14 21:35:44 UTC) #6
bbudge
A few more things. https://codereview.chromium.org/276423003/diff/160001/components/nacl/renderer/file_downloader.h File components/nacl/renderer/file_downloader.h (right): https://codereview.chromium.org/276423003/diff/160001/components/nacl/renderer/file_downloader.h#newcode28 components/nacl/renderer/file_downloader.h:28: }; Comment here to say ...
6 years, 7 months ago (2014-05-14 21:46:18 UTC) #7
teravest
https://codereview.chromium.org/276423003/diff/160001/components/nacl/renderer/file_downloader.h File components/nacl/renderer/file_downloader.h (right): https://codereview.chromium.org/276423003/diff/160001/components/nacl/renderer/file_downloader.h#newcode28 components/nacl/renderer/file_downloader.h:28: }; On 2014/05/14 21:46:18, bbudge wrote: > Comment here ...
6 years, 7 months ago (2014-05-15 19:12:21 UTC) #8
bbudge
LGTM w/nits https://codereview.chromium.org/276423003/diff/200001/components/nacl/renderer/file_downloader.cc File components/nacl/renderer/file_downloader.cc (right): https://codereview.chromium.org/276423003/diff/200001/components/nacl/renderer/file_downloader.cc#newcode46 components/nacl/renderer/file_downloader.cc:46: // Sets -1 if the content length ...
6 years, 7 months ago (2014-05-16 17:20:51 UTC) #9
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-16 17:46:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/276423003/240001
6 years, 7 months ago (2014-05-16 17:47:38 UTC) #11
teravest
6 years, 7 months ago (2014-05-16 20:18:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 manually as r271090 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698