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

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

Issue 9264006: Add additional include guard in platform specific .h files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « runtime/bin/eventhandler_macos.h ('k') | runtime/bin/thread_pool_linux.h » ('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) 2011, 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 BIN_EVENTHANDLER_WIN_H_
6 #define BIN_EVENTHANDLER_WIN_H_ 6 #define BIN_EVENTHANDLER_WIN_H_
7 7
8 #if !defined(BIN_EVENTHANDLER_H_)
9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead.
10 #endif
11
8 #include <winsock2.h> 12 #include <winsock2.h>
9 #include <mswsock.h> 13 #include <mswsock.h>
10 14
11 #include "bin/builtin.h" 15 #include "bin/builtin.h"
12 16
13 17
14 // Forward declarations. 18 // Forward declarations.
15 class EventHandlerImplementation; 19 class EventHandlerImplementation;
16 class Handle; 20 class Handle;
17 class FileHandle; 21 class FileHandle;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 private: 359 private:
356 ClientSocket* client_sockets_head_; 360 ClientSocket* client_sockets_head_;
357 361
358 int64_t timeout_; // Time for next timeout. 362 int64_t timeout_; // Time for next timeout.
359 Dart_Port timeout_port_; 363 Dart_Port timeout_port_;
360 HANDLE completion_port_; 364 HANDLE completion_port_;
361 }; 365 };
362 366
363 367
364 #endif // BIN_EVENTHANDLER_WIN_H_ 368 #endif // BIN_EVENTHANDLER_WIN_H_
OLDNEW
« no previous file with comments | « runtime/bin/eventhandler_macos.h ('k') | runtime/bin/thread_pool_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698