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/bind.h" |
7 #include "base/logging.h" | 8 #include "base/logging.h" |
8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
9 #include "mojo/embedder/embedder.h" | 10 #include "mojo/embedder/embedder.h" |
10 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
11 #include "mojo/shell/context.h" | 12 #include "mojo/shell/context.h" |
12 #include "mojo/shell/task_runners.h" | 13 #include "mojo/shell/task_runners.h" |
13 | 14 |
14 namespace mojo { | 15 namespace mojo { |
15 namespace shell { | 16 namespace shell { |
16 | 17 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 void AppChildProcessHost::DidCreateChannel( | 54 void AppChildProcessHost::DidCreateChannel( |
54 embedder::ChannelInfo* channel_info) { | 55 embedder::ChannelInfo* channel_info) { |
55 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()"; | 56 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()"; |
56 | 57 |
57 CHECK(channel_info); | 58 CHECK(channel_info); |
58 channel_info_ = channel_info; | 59 channel_info_ = channel_info; |
59 } | 60 } |
60 | 61 |
61 } // namespace shell | 62 } // namespace shell |
62 } // namespace mojo | 63 } // namespace mojo |
OLD | NEW |