Index: base/message_pump_libevent.h |
diff --git a/base/message_pump_libevent.h b/base/message_pump_libevent.h |
index 7c689b91c6ae2cfaca20b71a6d77254f2ef60fdb..446b49dd40e3c5cf47aa81bcebe6d1ef8fc7c847 100644 |
--- a/base/message_pump_libevent.h |
+++ b/base/message_pump_libevent.h |
@@ -95,8 +95,7 @@ class BASE_EXPORT MessagePumpLibevent : public MessagePump { |
enum Mode { |
WATCH_READ = 1 << 0, |
- WATCH_WRITE = 1 << 1, |
- WATCH_READ_WRITE = WATCH_READ | WATCH_WRITE |
+ WATCH_WRITE = 1 << 1 |
}; |
MessagePumpLibevent(); |
@@ -115,7 +114,7 @@ class BASE_EXPORT MessagePumpLibevent : public MessagePump { |
// TODO(dkegel): switch to edge-triggered readiness notification |
bool WatchFileDescriptor(int fd, |
bool persistent, |
- Mode mode, |
+ int mode, |
FileDescriptorWatcher *controller, |
Watcher *delegate); |