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

Unified Diff: runtime/bin/secure_socket_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, 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: runtime/bin/secure_socket_patch.dart
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
index 34edc7e12c395f9106f0374700e64937ad71b046..f17ad03347487584b0d0e1c91414aeb8f2cab59e 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -4,7 +4,8 @@
patch class SecureSocket {
/* patch */ static void setCertificateDatabase(String certificateDatabase,
- [String password])
+ {String password,
+ bool useBuiltinRoots: true})
native "SecureSocket_SetCertificateDatabase";
}

Powered by Google App Engine
This is Rietveld 408576698