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/system/embedder/embedder.h" | 5 #include "mojo/embedder/embedder.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "mojo/system/channel.h" | 11 #include "mojo/system/channel.h" |
12 #include "mojo/system/core_impl.h" | 12 #include "mojo/system/core_impl.h" |
13 #include "mojo/system/message_pipe.h" | 13 #include "mojo/system/message_pipe.h" |
14 #include "mojo/system/message_pipe_dispatcher.h" | 14 #include "mojo/system/message_pipe_dispatcher.h" |
15 | 15 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 void DestroyChannelOnIOThread(ChannelInfo* channel_info) { | 76 void DestroyChannelOnIOThread(ChannelInfo* channel_info) { |
77 DCHECK(channel_info); | 77 DCHECK(channel_info); |
78 DCHECK(channel_info->channel.get()); | 78 DCHECK(channel_info->channel.get()); |
79 channel_info->channel->Shutdown(); | 79 channel_info->channel->Shutdown(); |
80 delete channel_info; | 80 delete channel_info; |
81 } | 81 } |
82 | 82 |
83 } // namespace embedder | 83 } // namespace embedder |
84 } // namespace mojo | 84 } // namespace mojo |
OLD | NEW |