OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/handle_transport.h" | 5 #include "mojo/edk/system/handle_transport.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace system { | 10 namespace system { |
11 | 11 |
12 void DispatcherTransport::End() { | 12 void HandleTransport::End() { |
13 DCHECK(dispatcher_); | 13 DCHECK(dispatcher_); |
14 dispatcher_->mutex_.Unlock(); | 14 dispatcher_->mutex_.Unlock(); |
15 dispatcher_ = nullptr; | 15 dispatcher_ = nullptr; |
16 } | 16 } |
17 | 17 |
18 } // namespace system | 18 } // namespace system |
19 } // namespace mojo | 19 } // namespace mojo |
OLD | NEW |