Index: native_client_sdk/src/libraries/nacl_io/event_listener.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/event_listener.h b/native_client_sdk/src/libraries/nacl_io/event_listener.h |
index 4b9647a0b38bebae9469b44a764c2a7856404c89..679f4ffb145e7ad672aeb92cc5e2a6f00b77585d 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/event_listener.h |
+++ b/native_client_sdk/src/libraries/nacl_io/event_listener.h |
@@ -78,7 +78,6 @@ struct EventRequest { |
uint32_t events; |
}; |
- |
class EventListener; |
class EventListenerGroup; |
class EventListenerSingle; |
@@ -104,7 +103,6 @@ class EventListener { |
DISALLOW_COPY_AND_ASSIGN(EventListener); |
}; |
- |
// EventListenerLock |
// |
// On construction, references and locks the emitter. WaitOnEvent will |
@@ -130,14 +128,13 @@ class EventListenerLock : public EventListener { |
// EINTR if the wait was interrupted. |
Error WaitOnEvent(uint32_t events, int ms_max); |
-private: |
+ private: |
EventEmitter* emitter_; |
sdk_util::AutoLock* lock_; |
uint32_t events_; |
DISALLOW_COPY_AND_ASSIGN(EventListenerLock); |
}; |
- |
class EventListenerPoll : public EventListener { |
public: |
EventListenerPoll() : EventListener(), signaled_(0) {} |