diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-25 13:43:58 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-25 13:43:58 +0000 |
commit | 245c18994e19f24b381b0ca0039d1936bf433d28 (patch) | |
tree | eba64bc8f38befb5a3858dd3625d59ebd8a4b293 /components/nacl/common | |
parent | 3ed1e78116bfbfc19c6715f9ec1b62cbf9c3808a (diff) | |
download | chromium_src-245c18994e19f24b381b0ca0039d1936bf433d28.zip chromium_src-245c18994e19f24b381b0ca0039d1936bf433d28.tar.gz chromium_src-245c18994e19f24b381b0ca0039d1936bf433d28.tar.bz2 |
PPAPI/NaCl: Move some nexe loading error reporting to the renderer.
This moves PluginErrorCode to ppb_nacl_private.h so that it can be a parameter to the new ReportLoadError function.
ReportLoadError handles progress events and UMA, as well as the special-case for the infobar that's shown when the client's architecture is missing from the manifest.
Eventually, ReportLoadError will do more (e.g. set properties), and we'll also move other "state transitions" for loading down in to the renderer.
BUG=239656
Review URL: https://codereview.chromium.org/171813011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/nacl/common')
-rw-r--r-- | components/nacl/common/nacl_host_messages.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/nacl/common/nacl_host_messages.h b/components/nacl/common/nacl_host_messages.h index db3b8c8..3565b8c 100644 --- a/components/nacl/common/nacl_host_messages.h +++ b/components/nacl/common/nacl_host_messages.h @@ -88,10 +88,10 @@ IPC_MESSAGE_CONTROL2(NaClHostMsg_ReportTranslationFinished, int /* instance */, bool /* success */) -// A renderer sends this to the browser process to report an error. -IPC_MESSAGE_CONTROL2(NaClHostMsg_NaClErrorStatus, - int /* render_view_id */, - int /* Error ID */) +// A renderer sends this to the browser process to report when the client +// architecture is not listed in the manifest. +IPC_MESSAGE_CONTROL1(NaClHostMsg_MissingArchError, + int /* render_view_id */) // A renderer sends this to the browser process when it wants to // open a NaCl executable file from an installed application directory. |