Make ServiceRuntime::LoadModule asynchornize-able.
commit2012dda0d0a3e6dd15d54da837af4a554f159354
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 05:04:40 +0000 (11 05:04 +0000)
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 05:04:40 +0000 (11 05:04 +0000)
tree56c2a38883dd4885565fe72a082cab5c82ceaeed
parenteb137e547bc36459c6ff3b3c7d595299db074c7f
Make ServiceRuntime::LoadModule asynchornize-able.

This is just a refactoring to prepare making trusted plugin channel
an async IPC. Currently, we're using sync SRPC call. This CL still
keeps using it as is, but makes the function interfaces friendly
to async calls.

TEST=run browser_tests --gtest_filter=NaCl* locally, and trybots.
BUG=333950
R=teravest@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276268 0039d316-1c4b-4281-b951-d872f2087c98
ppapi/native_client/src/trusted/plugin/plugin.cc
ppapi/native_client/src/trusted/plugin/plugin.h
ppapi/native_client/src/trusted/plugin/service_runtime.cc
ppapi/native_client/src/trusted/plugin/service_runtime.h