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

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: Add crash to Windows status (issue 7102) 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | runtime/bin/socket_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 34edc7e12c395f9106f0374700e64937ad71b046..9bea4747cee6ff689b30634fbd606af9939a48ed 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -3,9 +3,10 @@
// BSD-style license that can be found in the LICENSE file.
patch class SecureSocket {
- /* patch */ static void setCertificateDatabase(String certificateDatabase,
- [String password])
- native "SecureSocket_SetCertificateDatabase";
+ /* patch */ static void initialize({String database,
+ String password,
+ bool useBuiltinRoots: true})
+ native "SecureSocket_InitializeLibrary";
}
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | runtime/bin/socket_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698