OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/shell/app_child_process_host.h" | 5 #include "mojo/shell/app_child_process_host.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "mojo/embedder/embedder.h" | 9 #include "mojo/embedder/embedder.h" |
10 #include "mojo/public/system/core_cpp.h" | 10 #include "mojo/public/cpp/system/core.h" |
11 #include "mojo/shell/context.h" | 11 #include "mojo/shell/context.h" |
12 #include "mojo/shell/task_runners.h" | 12 #include "mojo/shell/task_runners.h" |
13 | 13 |
14 namespace mojo { | 14 namespace mojo { |
15 namespace shell { | 15 namespace shell { |
16 | 16 |
17 AppChildProcessHost::AppChildProcessHost( | 17 AppChildProcessHost::AppChildProcessHost( |
18 Context* context, | 18 Context* context, |
19 mojo_shell::AppChildControllerClient* controller_client) | 19 mojo_shell::AppChildControllerClient* controller_client) |
20 : ChildProcessHost(context, this, ChildProcess::TYPE_APP), | 20 : ChildProcessHost(context, this, ChildProcess::TYPE_APP), |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void AppChildProcessHost::DidCreateChannel( | 54 void AppChildProcessHost::DidCreateChannel( |
55 embedder::ChannelInfo* channel_info) { | 55 embedder::ChannelInfo* channel_info) { |
56 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()"; | 56 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()"; |
57 | 57 |
58 CHECK(channel_info); | 58 CHECK(channel_info); |
59 channel_info_ = channel_info; | 59 channel_info_ = channel_info; |
60 } | 60 } |
61 | 61 |
62 } // namespace shell | 62 } // namespace shell |
63 } // namespace mojo | 63 } // namespace mojo |
OLD | NEW |