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

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

Issue 879353003: Introduce optional 'bool shared' parameter to ServerSocket.bind() ... (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Part3 update: Mac/Linux working, still Windows issues 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
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 throw new UnsupportedError("NetworkInterface.list"); 346 throw new UnsupportedError("NetworkInterface.list");
347 } 347 }
348 } 348 }
349 349
350 @patch 350 @patch
351 class RawServerSocket { 351 class RawServerSocket {
352 @patch 352 @patch
353 static Future<RawServerSocket> bind(address, 353 static Future<RawServerSocket> bind(address,
354 int port, 354 int port,
355 {int backlog: 0, 355 {int backlog: 0,
356 bool v6Only: false}) { 356 bool v6Only: false,
357 bool shared: false}) {
357 throw new UnsupportedError("RawServerSocket.bind"); 358 throw new UnsupportedError("RawServerSocket.bind");
358 } 359 }
359 } 360 }
360 361
361 @patch 362 @patch
362 class ServerSocket { 363 class ServerSocket {
363 @patch 364 @patch
364 static Future<ServerSocket> bind(address, 365 static Future<ServerSocket> bind(address,
365 int port, 366 int port,
366 {int backlog: 0, 367 {int backlog: 0,
367 bool v6Only: false}) { 368 bool v6Only: false,
369 bool shared: false}) {
368 throw new UnsupportedError("ServerSocket.bind"); 370 throw new UnsupportedError("ServerSocket.bind");
369 } 371 }
370 } 372 }
371 373
372 @patch 374 @patch
373 class RawSocket { 375 class RawSocket {
374 @patch 376 @patch
375 static Future<RawSocket> connect(host, int port) { 377 static Future<RawSocket> connect(host, int port) {
376 throw new UnsupportedError("RawSocket constructor"); 378 throw new UnsupportedError("RawSocket constructor");
377 } 379 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 } 524 }
523 } 525 }
524 526
525 @patch 527 @patch
526 class _IOService { 528 class _IOService {
527 @patch 529 @patch
528 static Future _dispatch(int request, List data) { 530 static Future _dispatch(int request, List data) {
529 throw new UnsupportedError("_IOService._dispatch"); 531 throw new UnsupportedError("_IOService._dispatch");
530 } 532 }
531 } 533 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698