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

Unified Diff: content/browser/renderer_host/pepper_tcp_socket.h

Issue 9405038: Add PPAPI interface for secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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
Index: content/browser/renderer_host/pepper_tcp_socket.h
diff --git a/content/browser/renderer_host/pepper_tcp_socket.h b/content/browser/renderer_host/pepper_tcp_socket.h
index af1b6ed610db9766cbbdcae37be3832f2a3149df..836352020f97e17e693316d539e7c78166557eb2 100644
--- a/content/browser/renderer_host/pepper_tcp_socket.h
+++ b/content/browser/renderer_host/pepper_tcp_socket.h
@@ -15,6 +15,10 @@
#include "net/base/completion_callback.h"
#include "ppapi/c/pp_stdint.h"
+namespace ppapi {
+class PPB_X509Certificate_Fields;
+}
+
class PepperMessageFilter;
struct PP_NetAddress_Private;
@@ -22,6 +26,7 @@ namespace net {
class IOBuffer;
class SingleRequestHostResolver;
class StreamSocket;
+class X509Certificate;
}
// PepperTCPSocket is used by PepperMessageFilter to handle requests from
@@ -52,6 +57,12 @@ class PepperTCPSocket {
void SendConnectACKError();
+ static bool GetCertificateFields(const net::X509Certificate& cert,
+ ppapi::PPB_X509Certificate_Fields* fields);
+ static bool GetCertificateFields(const char* bytes,
+ uint32_t length,
+ ppapi::PPB_X509Certificate_Fields* fields);
+
private:
enum ConnectionState {
// Before a connection is successfully established (including a previous
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/browser/renderer_host/pepper_tcp_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698