| 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/edk/embedder/embedder.h" | 5 #include "mojo/edk/embedder/embedder.h" |
| 6 | 6 |
| 7 #include "base/atomicops.h" | 7 #include "base/atomicops.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/message_loop/message_loop_proxy.h" | |
| 14 #include "base/task_runner.h" | 13 #include "base/task_runner.h" |
| 15 #include "mojo/edk/embedder/embedder_internal.h" | 14 #include "mojo/edk/embedder/embedder_internal.h" |
| 16 #include "mojo/edk/embedder/master_process_delegate.h" | 15 #include "mojo/edk/embedder/master_process_delegate.h" |
| 17 #include "mojo/edk/embedder/platform_support.h" | 16 #include "mojo/edk/embedder/platform_support.h" |
| 18 #include "mojo/edk/embedder/process_delegate.h" | 17 #include "mojo/edk/embedder/process_delegate.h" |
| 19 #include "mojo/edk/embedder/slave_process_delegate.h" | 18 #include "mojo/edk/embedder/slave_process_delegate.h" |
| 20 #include "mojo/edk/system/channel.h" | 19 #include "mojo/edk/system/channel.h" |
| 21 #include "mojo/edk/system/channel_manager.h" | 20 #include "mojo/edk/system/channel_manager.h" |
| 22 #include "mojo/edk/system/configuration.h" | 21 #include "mojo/edk/system/configuration.h" |
| 23 #include "mojo/edk/system/core.h" | 22 #include "mojo/edk/system/core.h" |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 DCHECK(channel_info); | 297 DCHECK(channel_info); |
| 299 DCHECK(internal::g_ipc_support); | 298 DCHECK(internal::g_ipc_support); |
| 300 | 299 |
| 301 system::ChannelManager* channel_manager = | 300 system::ChannelManager* channel_manager = |
| 302 internal::g_ipc_support->channel_manager(); | 301 internal::g_ipc_support->channel_manager(); |
| 303 channel_manager->WillShutdownChannel(channel_info->channel_id); | 302 channel_manager->WillShutdownChannel(channel_info->channel_id); |
| 304 } | 303 } |
| 305 | 304 |
| 306 } // namespace embedder | 305 } // namespace embedder |
| 307 } // namespace mojo | 306 } // namespace mojo |
| OLD | NEW |