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

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

Issue 10020002: Pass the nacl start parameters as a struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
diff --git a/chrome/browser/nacl_host/nacl_process_host.h b/chrome/browser/nacl_host/nacl_process_host.h
index 2024dadc8f9ed89065ca0ee009a6e62a4b7df8ac..5caf9c8f43d9316310568994aee3d05e9c7a3218 100644
--- a/chrome/browser/nacl_host/nacl_process_host.h
+++ b/chrome/browser/nacl_host/nacl_process_host.h
@@ -84,8 +84,16 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
void IrtReady();
- // Sends the start command with file handles to an opened NaCl process.
- // Returns false on failure.
+ // Sends the message to the NaCl process to load the plugin. Returns true
+ // on success.
+ bool StartNaClExecution();
+
+ // Sends the reply message to the renderer who is waiting for the plugin
+ // to load. Returns true on success.
+ bool ReplyToRenderer();
+
+ // Called once all initialization is complete and the nacl process is
Mark Seaborn 2012/04/07 00:23:34 'nacl' -> 'NaCl'
+ // ready to go. Returns true on success.
bool SendStart();
// Does post-process-launching tasks for starting the NaCl process once
« 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