DescriptionNaCl: Remove reliance on "init_done" SRPC call in the non-PNaCl case
We can remove Plugin::NexeFileDidOpenContinuation(), which gets called
via the "init_done" SRPC call (which calls
StartupInitializationComplete() in plugin/service_runtime.cc).
Its work gets done by the newer
ManifestServiceProxy::StartupInitializationComplete() in
components/nacl/renderer/ppb_nacl_private_impl.cc, which gets called
via Chrome IPC (by the "PpapiHostMsg_StartupInitializationComplete"
message).
ppapi_dispatcher.cc: In order to keep the error handling tests in
NaClBrowserTestNewlib.Bad passing, send the
StartupInitializationComplete message earlier, before we call
PPP_InitializeModule(). This ensures that crashes in
PPP_InitializeModule() are reported properly.
Note that PNaCl still relies on "init_done" for now.
BUG=428030
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3864
Committed: https://crrev.com/4c03d4d0964b0b69f5741aac6c78557b415617e1
Cr-Commit-Position: refs/heads/master@{#311298}
Patch Set 1 #Patch Set 2 : Reduce scope to non-PNaCl #Patch Set 3 : Cleanup #Patch Set 4 : Add comment #
Messages
Total messages: 8 (2 generated)
|