OLD | NEW |
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_WIN_H_ | 5 #ifndef RUNTIME_BIN_EVENTHANDLER_WIN_H_ |
6 #define BIN_EVENTHANDLER_WIN_H_ | 6 #define RUNTIME_BIN_EVENTHANDLER_WIN_H_ |
7 | 7 |
8 #if !defined(BIN_EVENTHANDLER_H_) | 8 #if !defined(RUNTIME_BIN_EVENTHANDLER_H_) |
9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead. | 9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead. |
10 #endif | 10 #endif |
11 | 11 |
12 #include <mswsock.h> | 12 #include <mswsock.h> |
13 #include <winsock2.h> | 13 #include <winsock2.h> |
14 #include <ws2tcpip.h> | 14 #include <ws2tcpip.h> |
15 | 15 |
16 #include "bin/builtin.h" | 16 #include "bin/builtin.h" |
17 #include "bin/thread.h" | 17 #include "bin/thread.h" |
18 | 18 |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 TimeoutQueue timeout_queue_; // Time for next timeout. | 546 TimeoutQueue timeout_queue_; // Time for next timeout. |
547 bool shutdown_; | 547 bool shutdown_; |
548 HANDLE completion_port_; | 548 HANDLE completion_port_; |
549 | 549 |
550 DISALLOW_COPY_AND_ASSIGN(EventHandlerImplementation); | 550 DISALLOW_COPY_AND_ASSIGN(EventHandlerImplementation); |
551 }; | 551 }; |
552 | 552 |
553 } // namespace bin | 553 } // namespace bin |
554 } // namespace dart | 554 } // namespace dart |
555 | 555 |
556 #endif // BIN_EVENTHANDLER_WIN_H_ | 556 #endif // RUNTIME_BIN_EVENTHANDLER_WIN_H_ |
OLD | NEW |