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

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

Issue 2305913002: Use ChannelMojo from the browser to NaCl loader process. (Closed)
Patch Set: rebase Created 4 years, 3 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_listener.h
diff --git a/components/nacl/loader/nonsfi/nonsfi_listener.h b/components/nacl/loader/nonsfi/nonsfi_listener.h
index 28d15961b2c87756db8ca50fe467262158308cfa..c3a9ee5935293faed5b8405ff2bfb549424cf71a 100644
--- a/components/nacl/loader/nonsfi/nonsfi_listener.h
+++ b/components/nacl/loader/nonsfi/nonsfi_listener.h
@@ -21,6 +21,12 @@ class Message;
class SyncChannel;
} // namespace IPC
+namespace mojo {
+namespace edk {
+class ScopedIPCSupport;
+} // namespace edk
+} // namespace mojo
+
class NaClTrustedListener;
namespace nacl {
@@ -47,6 +53,7 @@ class NonSfiListener : public IPC::Listener {
base::WaitableEvent shutdown_event_;
std::unique_ptr<IPC::SyncChannel> channel_;
scoped_refptr<NaClTrustedListener> trusted_listener_;
+ std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
std::unique_ptr<std::map<std::string, int>> key_fd_map_;

Powered by Google App Engine
This is Rietveld 408576698