DescriptionSet up a NaCl load status callback to start replacing "start_module".
Uses the hook from: https://codereview.chromium.org/1089323006/
The NaClListener will set up a callback, and when the load status
is known at the end of sel_main_chrome's LoadApp, it will use that
to send the load_status to the renderer via Chrome IPC, instead of
getting the load status from a "start_module" SRPC call.
The renderer will use that load_status to report UMA stats
and send progress events. This replaces the load_status coming
from the SRPC "start_module::i" invocation. However, the invocation
is kept for the moment because we currently block the sel_main_chrome
until it is received to avoid a race condition. After this lands,
we can remove the blocking and then remove the invocation.
This also replaces the call to ReapLogs since that will be done
once the load_status is known to be an error on the sel_main_chrome
side instead.
BUG= https://code.google.com/p/chromium/issues/detail?id=459250
Committed: https://crrev.com/6b7051836e5604d42723871b26c17146cc4f14c0
Cr-Commit-Position: refs/heads/master@{#326393}
Patch Set 1 #
Total comments: 6
Patch Set 2 : review #
Total comments: 6
Patch Set 3 : review #
Total comments: 1
Patch Set 4 : rebase #
Total comments: 2
Patch Set 5 : add back old comment #
Total comments: 2
Patch Set 6 : use the enum instead of int #Messages
Total messages: 24 (7 generated)
|