Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: base/message_pump_libevent.h

Issue 11412101: Provide an iOS message pump for IO implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698