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

Unified Diff: chrome/common/nacl_types.cc

Issue 18045007: Show more different NaCl loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase 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
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/nacl_types.cc
===================================================================
--- chrome/common/nacl_types.cc (revision 212679)
+++ chrome/common/nacl_types.cc (working copy)
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/common/nacl_types.h"
+#include "ipc/ipc_platform_file.h"
namespace nacl {
@@ -52,4 +53,25 @@
NaClLaunchParams::~NaClLaunchParams() {
}
+NaClLaunchResult::NaClLaunchResult()
+ : imc_channel_handle(IPC::InvalidPlatformFileForTransit()),
+ ipc_channel_handle(),
+ plugin_pid(base::kNullProcessId),
+ plugin_child_id(0) {
+}
+
+NaClLaunchResult::NaClLaunchResult(
+ FileDescriptor imc_channel_handle,
+ const IPC::ChannelHandle& ipc_channel_handle,
+ base::ProcessId plugin_pid,
+ int plugin_child_id)
+ : imc_channel_handle(imc_channel_handle),
+ ipc_channel_handle(ipc_channel_handle),
+ plugin_pid(plugin_pid),
+ plugin_child_id(plugin_child_id) {
+}
+
+NaClLaunchResult::~NaClLaunchResult() {
+}
+
} // namespace nacl
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698