OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/system/routed_raw_channel.h" | 5 #include "mojo/edk/system/routed_raw_channel.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <utility> | 10 #include <utility> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "mojo/edk/embedder/embedder_internal.h" | 14 #include "mojo/edk/embedder/embedder_internal.h" |
12 | 15 |
13 namespace mojo { | 16 namespace mojo { |
14 namespace edk { | 17 namespace edk { |
15 | 18 |
16 namespace { | 19 namespace { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 if (routes_.empty()) { | 152 if (routes_.empty()) { |
150 channel_->Shutdown(); | 153 channel_->Shutdown(); |
151 channel_ = nullptr; | 154 channel_ = nullptr; |
152 delete this; | 155 delete this; |
153 return; | 156 return; |
154 } | 157 } |
155 } | 158 } |
156 | 159 |
157 } // namespace edk | 160 } // namespace edk |
158 } // namespace mojo | 161 } // namespace mojo |
OLD | NEW |