From 245c18994e19f24b381b0ca0039d1936bf433d28 Mon Sep 17 00:00:00 2001 From: "dmichael@chromium.org" Date: Tue, 25 Feb 2014 13:43:58 +0000 Subject: 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 --- components/nacl/common/nacl_host_messages.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/nacl/common') 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. -- cgit v1.1