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

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: Address minor review comments 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..90e85105547197192b12b4ccf969a9b7d75f0e18 100644
--- a/base/message_pump_libevent.h
+++ b/base/message_pump_libevent.h
@@ -38,8 +38,6 @@ class BASE_EXPORT MessagePumpLibevent : public MessagePump {
virtual ~IOObserver() {}
};
- class FileDescriptorWatcher;
-
// Used with WatchFileDescriptor to asynchronously monitor the I/O readiness
// of a file descriptor.
class Watcher {
@@ -78,7 +76,7 @@ class BASE_EXPORT MessagePumpLibevent : public MessagePump {
event* ReleaseEvent();
void set_pump(MessagePumpLibevent* pump) { pump_ = pump; }
- MessagePumpLibevent* pump() { return pump_; }
+ MessagePumpLibevent* pump() const { return pump_; }
void set_watcher(Watcher* watcher) { watcher_ = watcher; }
@@ -115,7 +113,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