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

Unified Diff: components/nacl/broker/nacl_broker_listener.h

Issue 2081183005: Use ChannelMojo from the browser to NaCl loader process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-channel-handle
Patch Set: jfhgjdhgjdf Created 4 years, 6 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/broker/nacl_broker_listener.h
diff --git a/components/nacl/broker/nacl_broker_listener.h b/components/nacl/broker/nacl_broker_listener.h
index 920fb0ad174d5a03520a15a6d2302f2a37e749d3..ad192519817078a12ec5eb40ec6e050408f32b7f 100644
--- a/components/nacl/broker/nacl_broker_listener.h
+++ b/components/nacl/broker/nacl_broker_listener.h
@@ -19,6 +19,12 @@ namespace IPC {
class Channel;
}
+namespace mojo {
+namespace edk {
+class ScopedIPCSupport;
+} // namespace edk
+} // namespace mojo
+
// The BrokerThread class represents the thread that handles the messages from
// the browser process and starts NaCl loader processes.
class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate,
@@ -46,6 +52,7 @@ class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate,
base::Process browser_process_;
std::unique_ptr<IPC::Channel> channel_;
+ std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);
};
« no previous file with comments | « no previous file | components/nacl/broker/nacl_broker_listener.cc » ('j') | components/nacl/broker/nacl_broker_listener.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698