Chromium Code Reviews| Index: runtime/bin/secure_socket_patch.dart |
| diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart |
| index c511465da0560979d143566f81198297f04abb72..9e79c86695e9dd987f38f5245bf9ff0b240b04b3 100644 |
| --- a/runtime/bin/secure_socket_patch.dart |
| +++ b/runtime/bin/secure_socket_patch.dart |
| @@ -37,7 +37,10 @@ class _SecureFilterImpl |
| void connect(String hostName, |
|
Søren Gjesse
2012/12/07 13:00:23
With all these bool consider using an int with fla
Bill Hesse
2012/12/10 15:15:48
This is the call to the C++ method in the other co
|
| int port, |
| bool is_server, |
| - String certificate_name) native "SecureSocket_Connect"; |
| + String certificateName, |
| + bool requestClientCertificate, |
| + bool requireClientCertificate, |
| + bool sendClientCertificate) native "SecureSocket_Connect"; |
| void destroy() { |
| buffers = null; |
| @@ -50,6 +53,8 @@ class _SecureFilterImpl |
| void init() native "SecureSocket_Init"; |
| + X509Certificate get peerCertificate native "SecureSocket_PeerCertificate"; |
| + |
| int processBuffer(int bufferIndex) native "SecureSocket_ProcessBuffer"; |
| void registerBadCertificateCallback(Function callback) |