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

Unified Diff: services/nacl/nonsfi/pnacl_compile.cc

Issue 1932713003: More SynchronousInterfacePtr conversion + some related pexe content handler cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
« no previous file with comments | « services/nacl/nonsfi/content_handler_main_pexe.cc ('k') | services/nacl/nonsfi/pnacl_compile.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/nacl/nonsfi/pnacl_compile.cc
diff --git a/services/nacl/nonsfi/pnacl_compile.cc b/services/nacl/nonsfi/pnacl_compile.cc
index 969925e1007ede06d61e440c2c0a7f9204d2e63e..38d5ef4009ae8443c42a0ae346a3287c7a0bc460 100644
--- a/services/nacl/nonsfi/pnacl_compile.cc
+++ b/services/nacl/nonsfi/pnacl_compile.cc
@@ -21,13 +21,14 @@ namespace nacl {
class PexeCompilerImpl : public PexeCompilerInit {
public:
- void PexeCompilerStart(ScopedMessagePipeHandle handle) override {
+ void PexeCompilerStart(
+ InterfaceRequest<PexeCompiler> compiler_request) override {
int nexe_fd =
::nacl::DataToTempFileDescriptor(::nacl::kPnaclTranslatorCompile);
CHECK(nexe_fd >= 0) << "Could not open compiler nexe";
- ::nacl::MojoLaunchNexeNonsfi(nexe_fd,
- handle.release().value(),
- true /* enable_translate_irt */);
+ ::nacl::MojoLaunchNexeNonsfi(
+ nexe_fd, compiler_request.PassMessagePipe().release().value(),
+ true /* enable_translate_irt */);
}
};
« no previous file with comments | « services/nacl/nonsfi/content_handler_main_pexe.cc ('k') | services/nacl/nonsfi/pnacl_compile.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698