OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 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 #ifndef LIBRARIES_NACL_IO_EVENT_EMITTER_H_ | 5 #ifndef LIBRARIES_NACL_IO_EVENT_EMITTER_H_ |
6 #define LIBRARIES_NACL_IO_EVENT_EMITTER_H_ | 6 #define LIBRARIES_NACL_IO_EVENT_EMITTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 private: | 66 private: |
67 uint32_t event_status_; | 67 uint32_t event_status_; |
68 sdk_util::SimpleLock emitter_lock_; | 68 sdk_util::SimpleLock emitter_lock_; |
69 EventListenerMap_t listeners_; | 69 EventListenerMap_t listeners_; |
70 DISALLOW_COPY_AND_ASSIGN(EventEmitter); | 70 DISALLOW_COPY_AND_ASSIGN(EventEmitter); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace nacl_io | 73 } // namespace nacl_io |
74 | 74 |
75 | 75 |
76 #endif // LIBRARIES_NACL_IO_EVENT_EMITTER_H_ | 76 #endif // LIBRARIES_NACL_IO_EVENT_EMITTER_H_ |
OLD | NEW |