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

Unified 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: Make database argument optional. Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
index a253935b996c1629b7ff9ce0f51941da7b85d951..58f5c6f31c68b6b2474ce20264e242503a51dd07 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
@@ -168,8 +168,9 @@ patch class Socket {
}
patch class SecureSocket {
- patch static void setCertificateDatabase(String certificateDatabase,
- [String password]) {
+ patch static void initialize({String database,
+ String password,
+ bool useBuiltinRoots}) {
throw new UnsupportedError("SecureSocket.setCertificateDatabase");
}
}

Powered by Google App Engine
This is Rietveld 408576698