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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart

Issue 2928013002: Revert "Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also upda… (Closed)
Patch Set: Modified SecurityContext.alpnSupported to return true, and added @deprecated annotation. Created 3 years, 6 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
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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 class SecurityContext { 452 class SecurityContext {
453 @patch 453 @patch
454 factory SecurityContext() { 454 factory SecurityContext() {
455 throw new UnsupportedError("SecurityContext constructor"); 455 throw new UnsupportedError("SecurityContext constructor");
456 } 456 }
457 457
458 @patch 458 @patch
459 static SecurityContext get defaultContext { 459 static SecurityContext get defaultContext {
460 throw new UnsupportedError("default SecurityContext getter"); 460 throw new UnsupportedError("default SecurityContext getter");
461 } 461 }
462
463 @patch
464 @deprecated
465 static bool get alpnSupported {
466 throw new UnsupportedError("SecurityContext alpnSupported getter");
467 }
462 } 468 }
463 469
464 @patch 470 @patch
465 class X509Certificate { 471 class X509Certificate {
466 @patch 472 @patch
467 factory X509Certificate._() { 473 factory X509Certificate._() {
468 throw new UnsupportedError("X509Certificate constructor"); 474 throw new UnsupportedError("X509Certificate constructor");
469 } 475 }
470 } 476 }
471 477
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 } 616 }
611 } 617 }
612 618
613 @patch 619 @patch
614 class _IOService { 620 class _IOService {
615 @patch 621 @patch
616 static Future _dispatch(int request, List data) { 622 static Future _dispatch(int request, List data) {
617 throw new UnsupportedError("_IOService._dispatch"); 623 throw new UnsupportedError("_IOService._dispatch");
618 } 624 }
619 } 625 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698