Chromium Code Reviews| Index: runtime/bin/secure_socket.h |
| diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h |
| index 520693af20ba13e0d904c7ae0ed867662823577f..f20ca7d65a75930d60dda594442bfcc6a3b7b919 100644 |
| --- a/runtime/bin/secure_socket.h |
| +++ b/runtime/bin/secure_socket.h |
| @@ -74,18 +74,20 @@ class SSLFilter { |
| void Connect(const char* host, |
| int port, |
| bool is_server, |
| - const char* certificate_name); |
| + const char* certificate_name, |
|
Søren Gjesse
2012/12/07 13:00:23
Now about making an int with flags here instead of
Bill Hesse
2012/12/10 15:15:48
Because we would just pack them all up before call
|
| + bool request_client_certificate, |
| + bool require_client_certificate, |
| + bool send_client_certificate); |
| void Destroy(); |
| void Handshake(); |
| void RegisterHandshakeCompleteCallback(Dart_Handle handshake_complete); |
| void RegisterBadCertificateCallback(Dart_Handle callback); |
| + Dart_Handle bad_certificate_callback() { return bad_certificate_callback_; } |
| static void InitializeLibrary(const char* certificate_database, |
| const char* password, |
| bool use_builtin_root_certificates); |
| - |
| intptr_t ProcessBuffer(int bufferIndex); |
| - |
| - SECStatus HandleBadCertificate(PRFileDesc* fd); |
| + Dart_Handle PeerCertificate(); |
| private: |
| static const int kMemioBufferSize = 20 * KB; |