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

Unified Diff: components/nacl/loader/nacl_listener.cc

Issue 649603004: Non-SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ipc/ and mojo/ changes following Mark's suggestion Created 6 years 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/nacl_listener.cc
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc
index 7eab6036538413a59730637c21ff0fdeb9a36d0a..b75f4b3d9b4360d47d09205ec6951ab132895ffc 100644
--- a/components/nacl/loader/nacl_listener.cc
+++ b/components/nacl/loader/nacl_listener.cc
@@ -423,6 +423,9 @@ void NaClListener::OnStart(const nacl::NaClStartParams& params) {
args->nexe_desc = NaClDescCreateWithFilePathMetadata(nexe_file,
file_path_str.c_str());
+ // TODO(yusukes): Support pre-opening resource files.
+ CHECK(params.resource_files.empty());
+
int exit_status;
if (!NaClChromeMainStart(nap, args, &exit_status))
NaClExit(1);

Powered by Google App Engine
This is Rietveld 408576698