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

Side by Side Diff: dart/sdk/lib/_internal/compiler/js_lib/io_patch.dart

Issue 896213002: Revert "Introduce optional 'bool shared' parameter to ServerSocket.bind() ..." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 5 years, 10 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 | « dart/runtime/bin/socket_patch.dart ('k') | dart/sdk/lib/io/secure_server_socket.dart » ('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 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 throw new UnsupportedError("NetworkInterface.list"); 352 throw new UnsupportedError("NetworkInterface.list");
353 } 353 }
354 } 354 }
355 355
356 @patch 356 @patch
357 class RawServerSocket { 357 class RawServerSocket {
358 @patch 358 @patch
359 static Future<RawServerSocket> bind(address, 359 static Future<RawServerSocket> bind(address,
360 int port, 360 int port,
361 {int backlog: 0, 361 {int backlog: 0,
362 bool v6Only: false, 362 bool v6Only: false}) {
363 bool shared: false}) {
364 throw new UnsupportedError("RawServerSocket.bind"); 363 throw new UnsupportedError("RawServerSocket.bind");
365 } 364 }
366 } 365 }
367 366
368 @patch 367 @patch
369 class ServerSocket { 368 class ServerSocket {
370 @patch 369 @patch
371 static Future<ServerSocket> bind(address, 370 static Future<ServerSocket> bind(address,
372 int port, 371 int port,
373 {int backlog: 0, 372 {int backlog: 0,
374 bool v6Only: false, 373 bool v6Only: false}) {
375 bool shared: false}) {
376 throw new UnsupportedError("ServerSocket.bind"); 374 throw new UnsupportedError("ServerSocket.bind");
377 } 375 }
378 } 376 }
379 377
380 @patch 378 @patch
381 class RawSocket { 379 class RawSocket {
382 @patch 380 @patch
383 static Future<RawSocket> connect(host, int port) { 381 static Future<RawSocket> connect(host, int port) {
384 throw new UnsupportedError("RawSocket constructor"); 382 throw new UnsupportedError("RawSocket constructor");
385 } 383 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 } 528 }
531 } 529 }
532 530
533 @patch 531 @patch
534 class _IOService { 532 class _IOService {
535 @patch 533 @patch
536 static Future _dispatch(int request, List data) { 534 static Future _dispatch(int request, List data) {
537 throw new UnsupportedError("_IOService._dispatch"); 535 throw new UnsupportedError("_IOService._dispatch");
538 } 536 }
539 } 537 }
OLDNEW
« no previous file with comments | « dart/runtime/bin/socket_patch.dart ('k') | dart/sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698