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

Side by Side Diff: runtime/bin/eventhandler.h

Issue 163903002: Prototype of I/O statistics for Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor fixes Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/eventhandler_linux.h » ('j') | runtime/bin/socket_patch.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_EVENTHANDLER_H_ 5 #ifndef BIN_EVENTHANDLER_H_
6 #define BIN_EVENTHANDLER_H_ 6 #define BIN_EVENTHANDLER_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/isolate_data.h" 9 #include "bin/isolate_data.h"
10 #include "bin/socket.h"
10 11
11 namespace dart { 12 namespace dart {
12 namespace bin { 13 namespace bin {
13 14
14 // Flags used to provide information and actions to the eventhandler 15 // Flags used to provide information and actions to the eventhandler
15 // when sending a message about a file descriptor. These flags should 16 // when sending a message about a file descriptor. These flags should
16 // be kept in sync with the constants in socket_impl.dart. For more 17 // be kept in sync with the constants in socket_impl.dart. For more
17 // information see the comments in socket_impl.dart 18 // information see the comments in socket_impl.dart
18 enum MessageFlags { 19 enum MessageFlags {
19 kInEvent = 0, 20 kInEvent = 0,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 124
124 private: 125 private:
125 friend class EventHandlerImplementation; 126 friend class EventHandlerImplementation;
126 EventHandlerImplementation delegate_; 127 EventHandlerImplementation delegate_;
127 }; 128 };
128 129
129 } // namespace bin 130 } // namespace bin
130 } // namespace dart 131 } // namespace dart
131 132
132 #endif // BIN_EVENTHANDLER_H_ 133 #endif // BIN_EVENTHANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/eventhandler_linux.h » ('j') | runtime/bin/socket_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698