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

Unified Diff: runtime/bin/eventhandler.h

Issue 8399039: Explicitly handle listen sockets and connection sockets differently in Linux and Mac OS eventhandler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Mac OS build Created 9 years, 2 months 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
« no previous file with comments | « no previous file | runtime/bin/eventhandler_linux.h » ('j') | runtime/bin/eventhandler_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.h
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
index 381ad8ff673c3bb61346e98cec4eaeacad16e9c0..b75face4518ecc51ea9fed424af248e8cd8ec818 100644
--- a/runtime/bin/eventhandler.h
+++ b/runtime/bin/eventhandler.h
@@ -23,10 +23,11 @@
*/
enum Message {
kInEvent = 0,
- kOutEvent,
- kErrorEvent,
- kCloseEvent,
- kCloseCommand,
+ kOutEvent = 1,
+ kErrorEvent = 2,
+ kCloseEvent = 3,
+ kCloseCommand = 8,
+ kListenSocket = 16,
Mads Ager (google) 2011/10/28 08:33:23 The naming here confuses me. 4 Events, 1 Command a
Søren Gjesse 2011/10/28 09:24:19 So this is the bits that we send to the event loop
};
« no previous file with comments | « no previous file | runtime/bin/eventhandler_linux.h » ('j') | runtime/bin/eventhandler_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698