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

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

Issue 2201183004: Revert "Better error-message when bind fails." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/bin/socket.cc ('k') | runtime/bin/socket_linux.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 #if !defined(DART_IO_DISABLED) 5 #if !defined(DART_IO_DISABLED)
6 6
7 #include "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(TARGET_OS_FUCHSIA) 8 #if defined(TARGET_OS_FUCHSIA)
9 9
10 #include "bin/socket.h" 10 #include "bin/socket.h"
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 39
40 40
41 intptr_t Socket::CreateBindConnect(const RawAddr& addr, 41 intptr_t Socket::CreateBindConnect(const RawAddr& addr,
42 const RawAddr& source_addr) { 42 const RawAddr& source_addr) {
43 UNIMPLEMENTED(); 43 UNIMPLEMENTED();
44 return -1; 44 return -1;
45 } 45 }
46 46
47 47
48 bool Socket::IsBindError(intptr_t error_number) {
49 UNIMPLEMENTED();
50 return false;
51 }
52
53
54 intptr_t Socket::Available(intptr_t fd) { 48 intptr_t Socket::Available(intptr_t fd) {
55 UNIMPLEMENTED(); 49 UNIMPLEMENTED();
56 return -1; 50 return -1;
57 } 51 }
58 52
59 53
60 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) { 54 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) {
61 UNIMPLEMENTED(); 55 UNIMPLEMENTED();
62 return -1; 56 return -1;
63 } 57 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 UNIMPLEMENTED(); 233 UNIMPLEMENTED();
240 return false; 234 return false;
241 } 235 }
242 236
243 } // namespace bin 237 } // namespace bin
244 } // namespace dart 238 } // namespace dart
245 239
246 #endif // defined(TARGET_OS_FUCHSIA) 240 #endif // defined(TARGET_OS_FUCHSIA)
247 241
248 #endif // !defined(DART_IO_DISABLED) 242 #endif // !defined(DART_IO_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/socket.cc ('k') | runtime/bin/socket_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698