DescriptionNaCl: Expose NaClApp to the embedding layer.
This change exposes NaClApp and separate methods for loading and starting a
module to the embedding API.
It was initially proposed that a single method in the embedding API would take
care of loading and starting a module. I found this difficult to implement in
practice because the following 3 operations must occur in order:
- Load NaCl module.
- Initialize reverse service.
- Start NaCl module.
After the reverse service is moved to Chromium IPC from SRPC, this may be
easier to manage, but for now, I'd like to have two separate methods for
loading and starting a NaCl module.
I've tested this change against the current HEAD of chrome, and with a
prototype chrome change that calls the two methods introduced in this API.
Chrome change: https://codereview.chromium.org/131413009/
BUG=http://crbug.com/333950
Patch Set 1 #Patch Set 2 : Use git cl upload properly #Patch Set 3 : Reupload. #Patch Set 4 : Tighten up StartModule logic #Patch Set 5 : Fix compile error #Patch Set 6 : C90 compile fix #Patch Set 7 : Expose LoadModule status for UMA tracking. #
Messages
Total messages: 2 (0 generated)
|