Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 #if !defined(DART_IO_DISABLED) | |
| 6 | |
| 7 #include "platform/globals.h" | |
| 8 #if defined(HOST_OS_WINDOWS) | |
| 9 | |
| 10 #include "bin/builtin.h" | |
|
zra
2017/04/10 21:39:43
remove unused includes.
bkonyi
2017/04/11 01:30:51
I've removed what I think should be fine to remove
| |
| 11 #include "bin/eventhandler.h" | |
| 12 #include "bin/file.h" | |
| 13 #include "bin/lockers.h" | |
| 14 #include "bin/log.h" | |
| 15 #include "bin/socket.h" | |
| 16 #include "bin/socket_base_win.h" | |
| 17 #include "bin/thread.h" | |
| 18 #include "bin/utils.h" | |
| 19 #include "bin/utils_win.h" | |
| 20 | |
| 21 namespace dart { | |
| 22 namespace bin { | |
| 23 | |
| 24 SynchronousSocket::SynchronousSocket(intptr_t fd) | |
| 25 : ReferenceCounted(), fd_(fd), port_(ILLEGAL_PORT) { | |
| 26 LOG_ERR("SynchronousSocket is unimplemented\n"); | |
| 27 UNIMPLEMENTED(); | |
| 28 } | |
| 29 | |
| 30 | |
| 31 void SynchronousSocket::SetClosedFd() { | |
| 32 LOG_ERR("SynchronousSocket::SetClosedFd is unimplemented\n"); | |
| 33 UNIMPLEMENTED(); | |
| 34 } | |
| 35 | |
| 36 | |
| 37 intptr_t SynchronousSocket::CreateConnect(const RawAddr& addr) { | |
| 38 LOG_ERR("SynchronousSocket::CreateConnect is unimplemented\n"); | |
| 39 UNIMPLEMENTED(); | |
| 40 return -1; | |
| 41 } | |
| 42 | |
| 43 | |
| 44 intptr_t SynchronousSocket::CreateBindConnect(const RawAddr& addr, | |
| 45 const RawAddr& source_addr) { | |
| 46 LOG_ERR("SynchronousSocket::CreateBindConnect is unimplemented\n"); | |
| 47 UNIMPLEMENTED(); | |
| 48 return -1; | |
| 49 } | |
| 50 | |
| 51 } // namespace bin | |
| 52 } // namespace dart | |
| 53 | |
| 54 #endif // defined(HOST_OS_WINDOWS) | |
| 55 | |
| 56 #endif // !defined(DART_IO_DISABLED) | |
| OLD | NEW |