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

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

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 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
« no previous file with comments | « runtime/bin/process_openbsd.cc ('k') | runtime/bin/socket_openbsd.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) 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 #ifndef BIN_SOCKET_H_ 5 #ifndef BIN_SOCKET_H_
6 #define BIN_SOCKET_H_ 6 #define BIN_SOCKET_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "platform/globals.h" 10 #include "platform/globals.h"
11 11
12 #include "bin/builtin.h" 12 #include "bin/builtin.h"
13 #include "bin/dartutils.h" 13 #include "bin/dartutils.h"
14 // Declare the OS-specific types ahead of defining the generic class. 14 // Declare the OS-specific types ahead of defining the generic class.
15 #if defined(TARGET_OS_ANDROID) 15 #if defined(TARGET_OS_ANDROID)
16 #include "bin/socket_android.h" 16 #include "bin/socket_android.h"
17 #elif defined(TARGET_OS_LINUX) 17 #elif defined(TARGET_OS_LINUX)
18 #include "bin/socket_linux.h" 18 #include "bin/socket_linux.h"
19 #elif defined(TARGET_OS_MACOS) 19 #elif defined(TARGET_OS_MACOS)
20 #include "bin/socket_macos.h" 20 #include "bin/socket_macos.h"
21 #elif defined(TARGET_OS_OPENBSD)
22 #include "bin/socket_openbsd.h"
21 #elif defined(TARGET_OS_WINDOWS) 23 #elif defined(TARGET_OS_WINDOWS)
22 #include "bin/socket_win.h" 24 #include "bin/socket_win.h"
23 #else 25 #else
24 #error Unknown target os. 26 #error Unknown target os.
25 #endif 27 #endif
26 #include "bin/thread.h" 28 #include "bin/thread.h"
27 #include "bin/utils.h" 29 #include "bin/utils.h"
28 30
29 31
30 namespace dart { 32 namespace dart {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 417
416 private: 418 private:
417 DISALLOW_COPY_AND_ASSIGN(ListeningSocketRegistry); 419 DISALLOW_COPY_AND_ASSIGN(ListeningSocketRegistry);
418 }; 420 };
419 421
420 422
421 } // namespace bin 423 } // namespace bin
422 } // namespace dart 424 } // namespace dart
423 425
424 #endif // BIN_SOCKET_H_ 426 #endif // BIN_SOCKET_H_
OLDNEW
« no previous file with comments | « runtime/bin/process_openbsd.cc ('k') | runtime/bin/socket_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698