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

Unified Diff: components/nacl/loader/nonsfi/nonsfi_main.h

Issue 140573003: Connect PPAPI IPC channels for non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and address review comments. Created 6 years, 10 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: components/nacl/loader/nonsfi/nonsfi_main.h
diff --git a/components/nacl/loader/nonsfi/nonsfi_main.h b/components/nacl/loader/nonsfi/nonsfi_main.h
index 6c674ce2f78fc737f8d29551220ff7e5fc10177e..db2dcbb586006914436cc8490d45094e30665577 100644
--- a/components/nacl/loader/nonsfi/nonsfi_main.h
+++ b/components/nacl/loader/nonsfi/nonsfi_main.h
@@ -11,6 +11,10 @@
namespace nacl {
namespace nonsfi {
+// Registers the given fds as IPC channels for PPAPI.
+// This should be called before MainStart() (declared below) invocation.
+void SetIPCFileDescriptors(int browser_ipc_fd, int renderer_ipc_fd);
+
// Launch NaCl with Non SFI mode.
void MainStart(NaClHandle imc_bootstrap_handle);

Powered by Google App Engine
This is Rietveld 408576698