Revert 225801 "Initial in-process implementation of some Mojo pr..."

> Initial in-process implementation of some Mojo primitives.
> 
> This has an initial in-process implementation of the most basic Mojo primitives:
>   - MojoClose()
>   - MojoWait()
>   - MojoWaitMany()
>   - MojoCreateMessagePipe()
>   - MojoWriteMessage()
>   - MojoReadMessage()
> 
> R=darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/23621056

TBR=viettrungluu@chromium.org

Review URL: https://codereview.chromium.org/25134002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225809 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225809
Ensure that pending PNaCl translations are cleaned up on plugin destruction

The PnaclCoordinator in the plugin sends a TranslationFinished message to the
PnaclHost in the browser when translations are aborted for various errors it can
detect, but on surfaway (or when the embed tag is removed) the plugin simply
gets destroyed.  This CL adds an explicit state to indicate that the translation
has finished and been reported to the browser, and if the coordinator is prematurely
destroyed, it sends TranslationFinished so the browser can clean up.

This is tested by hooking the progress events and removing and re-adding the
embed.

R=jvoung@chromium.org, ncbray@chromium.org
BUG=297644
TEST= browser_tests --gtest_filter=NaClBrowserTestPnacl.PnaclErrorHandling

Review URL: https://codereview.chromium.org/23522072

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225810 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225810