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

Side by Side Diff: runtime/bin/eventhandler_win.cc

Issue 463373002: - More missing headers on Windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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/socket_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #include "platform/globals.h" 5 #include "platform/globals.h"
6 #if defined(TARGET_OS_WINDOWS) 6 #if defined(TARGET_OS_WINDOWS)
7 7
8 #include "bin/eventhandler.h" 8 #include "bin/eventhandler.h"
9 9
10 #include <winsock2.h> // NOLINT 10 #include <winsock2.h> // NOLINT
11 #include <ws2tcpip.h> // NOLINT 11 #include <ws2tcpip.h> // NOLINT
12 #include <mswsock.h> // NOLINT 12 #include <mswsock.h> // NOLINT
13 #include <io.h> // NOLINT 13 #include <io.h> // NOLINT
14 #include <fcntl.h> // NOLINT 14 #include <fcntl.h> // NOLINT
15 15
16 #include "bin/builtin.h" 16 #include "bin/builtin.h"
17 #include "bin/dartutils.h" 17 #include "bin/dartutils.h"
18 #include "bin/log.h" 18 #include "bin/log.h"
19 #include "bin/socket.h" 19 #include "bin/socket.h"
20 #include "bin/thread.h" 20 #include "bin/thread.h"
21 #include "bin/utils.h" 21 #include "bin/utils.h"
22 22
23 #include "platform/utils.h"
24
23 25
24 namespace dart { 26 namespace dart {
25 namespace bin { 27 namespace bin {
26 28
27 static const int kBufferSize = 64 * 1024; 29 static const int kBufferSize = 64 * 1024;
28 static const int kStdOverlappedBufferSize = 16 * 1024; 30 static const int kStdOverlappedBufferSize = 16 * 1024;
29 31
30 static const int kInfinityTimeout = -1; 32 static const int kInfinityTimeout = -1;
31 static const int kTimeoutId = -1; 33 static const int kTimeoutId = -1;
32 static const int kShutdownId = -2; 34 static const int kShutdownId = -2;
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1365
1364 1366
1365 void EventHandlerImplementation::Shutdown() { 1367 void EventHandlerImplementation::Shutdown() {
1366 SendData(kShutdownId, 0, 0); 1368 SendData(kShutdownId, 0, 0);
1367 } 1369 }
1368 1370
1369 } // namespace bin 1371 } // namespace bin
1370 } // namespace dart 1372 } // namespace dart
1371 1373
1372 #endif // defined(TARGET_OS_WINDOWS) 1374 #endif // defined(TARGET_OS_WINDOWS)
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698