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

Issue 55463002: Remove PNaCl's RequestFirstInstall, use resource throttle instead (Closed)

Created:
7 years, 1 month ago by jvoung (off chromium)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, yzshen+watch_chromium.org, piman+watch_chromium.org, native-client-reviews_googlegroups.com, ihf+watch_chromium.org
Visibility:
Public.

Description

Remove PNaCl's RequestFirstInstall, use resource throttle instead This removes PNaCl's RequestFirstInstall and its use of the component updater OnDemand API. A different CL: https://codereview.chromium.org/25713007/ will do the OnDemand calls internally. This removes the async IPCs, callbacks, and observers that were used to support the old code. The new code just throttles/blocks the pexe URL request until OnDemand installation is done. Reverts: https://codereview.chromium.org/19863003/, plus other CLs. BUG=none R=cpu@chromium.org, dmichael@chromium.org TBR=jln Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232827

Patch Set 1 #

Patch Set 2 : remove friend #

Total comments: 2

Patch Set 3 : revert more #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : reorder functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -628 lines) Patch
M chrome/browser/component_updater/component_updater_service.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/pnacl/pnacl_component_installer.h View 3 chunks +0 lines, -21 lines 0 comments Download
M chrome/browser/component_updater/pnacl/pnacl_component_installer.cc View 6 chunks +0 lines, -59 lines 0 comments Download
D chrome/browser/component_updater/pnacl/pnacl_updater_observer.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M chrome/browser/nacl_host/nacl_browser_delegate_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/nacl_browser_delegate_impl.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/nacl_host/nacl_file_host.h View 2 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/nacl_host/nacl_file_host.cc View 1 2 3 3 chunks +0 lines, -44 lines 0 comments Download
M chrome/browser/nacl_host/nacl_file_host_unittest.cc View 1 2 3 4 chunks +2 lines, -126 lines 0 comments Download
M chrome/browser/nacl_host/nacl_host_message_filter.h View 3 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/nacl_host/nacl_host_message_filter.cc View 1 2 3 2 chunks +0 lines, -23 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/pepper/pnacl_translation_resource_host.h View 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/renderer/pepper/pnacl_translation_resource_host.cc View 3 chunks +0 lines, -69 lines 0 comments Download
M chrome/renderer/pepper/ppb_nacl_private_impl.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M components/nacl/common/nacl_browser_delegate.h View 1 chunk +0 lines, -7 lines 0 comments Download
M components/nacl/common/nacl_host_messages.h View 1 chunk +0 lines, -11 lines 0 comments Download
M components/nacl/common/pnacl_types.h View 1 2 2 chunks +0 lines, -15 lines 0 comments Download
M components/nacl/common/pnacl_types.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 chunk +0 lines, -8 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 2 chunks +1 line, -8 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 3 4 3 chunks +43 lines, -63 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jvoung (off chromium)
I think this should remove PNaCl's call to the OnDemand API, along with the IPC ...
7 years, 1 month ago (2013-10-31 23:00:32 UTC) #1
cpu_(ooo_6.6-7.5)
If so that is bad there should be no sleeps. Let me do some debugging ...
7 years, 1 month ago (2013-11-01 00:11:44 UTC) #2
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/55463002/diff/170001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc File ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc (left): https://codereview.chromium.org/55463002/diff/170001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc#oldcode449 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc:449: resources_->ReadResourceInfo(PnaclUrls::GetResourceInfoUrl(), don't know where this moved to, just ...
7 years, 1 month ago (2013-11-01 17:28:59 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/55463002/diff/170001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc File ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc (left): https://codereview.chromium.org/55463002/diff/170001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc#oldcode449 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc:449: resources_->ReadResourceInfo(PnaclUrls::GetResourceInfoUrl(), On 2013/11/01 17:28:59, cpu wrote: > don't know ...
7 years, 1 month ago (2013-11-01 21:56:12 UTC) #4
jvoung (off chromium)
+dmichael for pepper, +jln for nacl_host_messages.h, thanks in advance
7 years, 1 month ago (2013-11-01 23:05:44 UTC) #5
Derek Schuff
https://codereview.chromium.org/55463002/diff/450001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc File ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc (left): https://codereview.chromium.org/55463002/diff/450001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc#oldcode456 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc:456: // Second step of loading resources: call StartLoad. the ...
7 years, 1 month ago (2013-11-01 23:36:28 UTC) #6
dmichael (off chromium)
Pepper lgtm
7 years, 1 month ago (2013-11-02 08:40:45 UTC) #7
jvoung (off chromium)
https://codereview.chromium.org/55463002/diff/450001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc File ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc (left): https://codereview.chromium.org/55463002/diff/450001/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc#oldcode456 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc:456: // Second step of loading resources: call StartLoad. On ...
7 years, 1 month ago (2013-11-04 18:16:36 UTC) #8
jvoung (off chromium)
jln to TBR, since this is just reverting/remove an earlier IPC that you reviewed
7 years, 1 month ago (2013-11-04 21:17:32 UTC) #9
waffles
What is the behavior when we attempt an on-demand update of PNaCl, the update fails ...
7 years, 1 month ago (2013-11-04 22:07:26 UTC) #10
cpu_(ooo_6.6-7.5)
just early warning, we have 3 hours left.
7 years, 1 month ago (2013-11-04 22:19:56 UTC) #11
jvoung (off chromium)
On 2013/11/04 22:07:26, waffles wrote: > What is the behavior when we attempt an on-demand ...
7 years, 1 month ago (2013-11-04 22:29:22 UTC) #12
jvoung (off chromium)
Committed patchset #5 manually as r232827 (presubmit successful).
7 years, 1 month ago (2013-11-04 22:35:01 UTC) #13
jvoung (off chromium)
On 2013/11/01 00:11:44, cpu wrote: > If so that is bad there should be no ...
7 years, 1 month ago (2013-11-05 00:30:20 UTC) #14
waffles
On 2013/11/05 00:30:20, jvoung (cr) wrote: > On 2013/11/01 00:11:44, cpu wrote: > > If ...
7 years, 1 month ago (2013-11-05 00:39:15 UTC) #15
jvoung (off chromium)
On 2013/11/05 00:39:15, waffles wrote: > On 2013/11/05 00:30:20, jvoung (cr) wrote: > > On ...
7 years, 1 month ago (2013-11-05 01:41:38 UTC) #16
jln (very slow on Chromium)
7 years, 1 month ago (2013-11-05 03:55:51 UTC) #17
Message was sent while issue was closed.
belated components/nacl/common/nacl_host_messages.h lgtm

Powered by Google App Engine
This is Rietveld 408576698