OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/simple_dispatcher.h" | 5 #include "mojo/edk/system/simple_dispatcher.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 SimpleDispatcher::SimpleDispatcher() { | 12 SimpleDispatcher::SimpleDispatcher() { |
13 } | 13 } |
14 | 14 |
15 SimpleDispatcher::~SimpleDispatcher() { | 15 SimpleDispatcher::~SimpleDispatcher() { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 Waiter* waiter, | 52 Waiter* waiter, |
53 HandleSignalsState* signals_state) { | 53 HandleSignalsState* signals_state) { |
54 lock().AssertAcquired(); | 54 lock().AssertAcquired(); |
55 waiter_list_.RemoveWaiter(waiter); | 55 waiter_list_.RemoveWaiter(waiter); |
56 if (signals_state) | 56 if (signals_state) |
57 *signals_state = GetHandleSignalsStateImplNoLock(); | 57 *signals_state = GetHandleSignalsStateImplNoLock(); |
58 } | 58 } |
59 | 59 |
60 } // namespace system | 60 } // namespace system |
61 } // namespace mojo | 61 } // namespace mojo |
OLD | NEW |