summaryrefslogtreecommitdiffstats
path: root/content/child/child_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/child/child_thread.cc')
-rw-r--r--content/child/child_thread.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index 315224e..89ff408 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -239,7 +239,7 @@ void ChildThread::Init() {
IPC::Logging::GetInstance()->SetIPCSender(this);
#endif
- mojo_application_.reset(new MojoApplication);
+ mojo_application_.reset(new MojoApplication(this));
sync_message_filter_ =
new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent());
@@ -370,6 +370,15 @@ void ChildThread::OnChannelError() {
base::MessageLoop::current()->Quit();
}
+void ChildThread::ConnectToService(
+ const mojo::String& service_url,
+ const mojo::String& service_name,
+ mojo::ScopedMessagePipeHandle message_pipe,
+ const mojo::String& requestor_url) {
+ // By default, we don't expect incoming connections.
+ NOTREACHED();
+}
+
bool ChildThread::Send(IPC::Message* msg) {
DCHECK(base::MessageLoop::current() == message_loop());
if (!channel_) {