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

Unified Diff: ppapi/cpp/private/tcp_socket_private.h

Issue 9699100: Add functionality to pppapi TCPSocket to support secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 months 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 | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/tcp_socket_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5f2b7719207dd359a68aa78a092c6d69caf81ae7 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);
+ X509CertificatePrivate GetServerCertificate();
+ bool AddChainBuildingCertificate(const X509CertificatePrivate& cert,
+ bool trusted);
+
int32_t Read(char* buffer,
int32_t bytes_to_read,
const CompletionCallback& callback);
« no previous file with comments | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/tcp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698