| 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
|
|
|