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

Unified Diff: runtime/bin/secure_socket_patch.dart

Issue 22887014: Remove the certificate management methods from dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | sdk/lib/_internal/lib/io_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_patch.dart
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
index 13640b226c29b1dcd381dd3ac4741f1a2ff2494e..104f5622f57e5866f737b41e42a9a6a4577c71e0 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -8,27 +8,8 @@ patch class SecureSocket {
/* patch */ static void initialize({String database,
String password,
- bool useBuiltinRoots: true,
- bool readOnly: true})
- native "SecureSocket_InitializeLibrary";
-
- /* patch */ static X509Certificate addCertificate(List<int> certificate,
- String trust)
- native "SecureSocket_AddCertificate";
-
- /* patch */ static importCertificatesWithPrivateKeys(List<int> certificates,
- String password)
- native "SecureSocket_ImportCertificatesWithPrivateKeys";
-
- /* patch */ static X509Certificate changeTrust(String nickname,
- String trust)
- native "SecureSocket_ChangeTrust";
-
- /* patch */ static X509Certificate getCertificate(String nickname)
- native "SecureSocket_GetCertificate";
-
- /* patch */ static removeCertificate(String nickname)
- native "SecureSocket_RemoveCertificate";
+ bool useBuiltinRoots: true})
+ native "SecureSocket_InitializeLibrary";
}
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | sdk/lib/_internal/lib/io_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698