DescriptionAdd a load_status callback hook that is invoked at the end of chrome LoadApp.
This callback will be used to communicate the load status (success
or error) in the place of the start_module SRPC call, so that we can
deprecate the "start_module" call later. Blocking on "start_module"
is kept for now.
Next step is to use it in chrome like so:
https://codereview.chromium.org/1090233003/
When the hook is set, assume that we want to reap logs on error,
so that we can remove the SRPC "log" command as well.
BUG= https://code.google.com/p/chromium/issues/detail?id=459250
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/2d7fb8345670874fb63d715a18a5ce6fd69d3cb5
Patch Set 1 #Patch Set 2 : also handle reap logs while we are at it #Patch Set 3 : reorder events #
Total comments: 2
Patch Set 4 : review #
Total comments: 10
Patch Set 5 : review #Patch Set 6 : there is still a race, so block for now #Patch Set 7 : xyz #
Total comments: 4
Patch Set 8 : udpate comment #Messages
Total messages: 12 (3 generated)
|