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

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

Issue 11308271: Add built-in root certificates to dart:io SecureSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 patch class _BufferUtils { 5 patch class _BufferUtils {
6 patch static bool _isBuiltinList(List buffer) { 6 patch static bool _isBuiltinList(List buffer) {
7 throw new UnsupportedError("_isBuiltinList"); 7 throw new UnsupportedError("_isBuiltinList");
8 } 8 }
9 } 9 }
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return new _ServerSocket(bindAddress, port, backlog); 162 return new _ServerSocket(bindAddress, port, backlog);
163 } 163 }
164 } 164 }
165 165
166 patch class Socket { 166 patch class Socket {
167 patch factory Socket(String host, int port) => new _Socket(host, port); 167 patch factory Socket(String host, int port) => new _Socket(host, port);
168 } 168 }
169 169
170 patch class SecureSocket { 170 patch class SecureSocket {
171 patch static void setCertificateDatabase(String certificateDatabase, 171 patch static void setCertificateDatabase(String certificateDatabase,
172 [String password]) { 172 {String password,
173 bool useBuiltinRoots}) {
173 throw new UnsupportedError("SecureSocket.setCertificateDatabase"); 174 throw new UnsupportedError("SecureSocket.setCertificateDatabase");
174 } 175 }
175 } 176 }
176 177
177 patch class _SecureFilter { 178 patch class _SecureFilter {
178 patch factory _SecureFilter() { 179 patch factory _SecureFilter() {
179 throw new UnsupportedError("_SecureFilter._SecureFilter"); 180 throw new UnsupportedError("_SecureFilter._SecureFilter");
180 } 181 }
181 } 182 }
182 183
183 patch class _StdIOUtils { 184 patch class _StdIOUtils {
184 patch static _getStdioHandle(Socket socket, int num) { 185 patch static _getStdioHandle(Socket socket, int num) {
185 throw new UnsupportedError("StdIOUtils._getStdioHandle"); 186 throw new UnsupportedError("StdIOUtils._getStdioHandle");
186 } 187 }
187 patch static _getStdioHandleType(int num) { 188 patch static _getStdioHandleType(int num) {
188 throw new UnsupportedError("StdIOUtils._getStdioHandleType"); 189 throw new UnsupportedError("StdIOUtils._getStdioHandleType");
189 } 190 }
190 } 191 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698