Index: chrome/browser/nacl_host/nacl_process_host.h |
=================================================================== |
--- chrome/browser/nacl_host/nacl_process_host.h (revision 211556) |
+++ chrome/browser/nacl_host/nacl_process_host.h (working copy) |
@@ -123,6 +123,14 @@ |
// to load. Returns true on success. |
bool ReplyToRenderer(const IPC::ChannelHandle& channel_handle); |
+ // Sends the reply with error message to the renderer. |
+ void SendErrorToRenderer(const std::string& error_message); |
+ |
+ // Sends the reply message to the renderer. Either result or |
+ // error message must be empty. |
+ void SendMessageToRenderer(const nacl::NaClLaunchResult& result, |
+ const std::string& error_message); |
+ |
// Sends the message to the NaCl process to load the plugin. Returns true |
// on success. |
bool StartNaClExecution(); |