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

Unified Diff: components/nacl/common/nacl_types.cc

Issue 131413009: Prototype: Use Chromium IPC for plugin LOAD_MODULE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, some FIXMEs cleaned up 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/common/nacl_types.cc
diff --git a/components/nacl/common/nacl_types.cc b/components/nacl/common/nacl_types.cc
index 1320b81cd1199b1c5166efa2a57ea313e0e2606e..0e3903216557d395903d8f98d451a6c6bb92a8de 100644
--- a/components/nacl/common/nacl_types.cc
+++ b/components/nacl/common/nacl_types.cc
@@ -60,18 +60,21 @@ NaClLaunchParams::~NaClLaunchParams() {
NaClLaunchResult::NaClLaunchResult()
: imc_channel_handle(IPC::InvalidPlatformFileForTransit()),
- ipc_channel_handle(),
+ untrusted_ipc_channel_handle(),
+ trusted_ipc_channel_handle(),
plugin_pid(base::kNullProcessId),
plugin_child_id(0) {
}
NaClLaunchResult::NaClLaunchResult(
FileDescriptor imc_channel_handle,
- const IPC::ChannelHandle& ipc_channel_handle,
+ const IPC::ChannelHandle& untrusted_ipc_channel_handle,
+ const IPC::ChannelHandle& trusted_ipc_channel_handle,
base::ProcessId plugin_pid,
int plugin_child_id)
: imc_channel_handle(imc_channel_handle),
- ipc_channel_handle(ipc_channel_handle),
+ untrusted_ipc_channel_handle(untrusted_ipc_channel_handle),
+ trusted_ipc_channel_handle(trusted_ipc_channel_handle),
plugin_pid(plugin_pid),
plugin_child_id(plugin_child_id) {
}

Powered by Google App Engine
This is Rietveld 408576698