Chromium Code Reviews| Index: ppapi/cpp/private/tcp_socket_private.h |
| diff --git a/ppapi/cpp/private/tcp_socket_private.h b/ppapi/cpp/private/tcp_socket_private.h |
| index 839c7cfbfbee5129facb30006a48398d6aa2222b..0a429856efffd2251efe411ffe2d40b059dcc164 100644 |
| --- a/ppapi/cpp/private/tcp_socket_private.h |
| +++ b/ppapi/cpp/private/tcp_socket_private.h |
| @@ -8,6 +8,7 @@ |
| #include "ppapi/c/pp_stdint.h" |
| #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| #include "ppapi/cpp/pass_ref.h" |
| +#include "ppapi/cpp/private/x509_certificate_private.h" |
| #include "ppapi/cpp/resource.h" |
| namespace pp { |
| @@ -34,6 +35,10 @@ class TCPSocketPrivate : public Resource { |
| int32_t SSLHandshake(const char* server_name, |
| uint16_t server_port, |
| const CompletionCallback& callback); |
| + X509Certificate GetServerCertificate(); |
|
Ryan Sleevi
2012/04/06 00:37:49
bool GetServerCertificate(X509Certificate* cert);
yzshen1
2012/04/06 19:24:33
Actually, you should have 'Private' in the name of
raymes
2012/04/06 23:22:47
A copy to the out param would still have to happen
|
| + bool AddChainBuildingCertificate(const X509Certificate& cert, |
| + bool trusted); |
| + |
| int32_t Read(char* buffer, |
| int32_t bytes_to_read, |
| const CompletionCallback& callback); |