Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1563)

Unified Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 18045007: Show more different NaCl loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | chrome/browser/nacl_host/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698