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

Unified Diff: content/browser/renderer_host/p2p/socket_host_tcp.h

Issue 22452002: Adding TLS support to the TCP Client sockets. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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/p2p/socket_host_tcp.h
===================================================================
--- content/browser/renderer_host/p2p/socket_host_tcp.h (revision 215641)
+++ content/browser/renderer_host/p2p/socket_host_tcp.h (working copy)
@@ -59,6 +59,10 @@
friend class P2PSocketHostTcpTestBase;
friend class P2PSocketHostTcpServerTest;
+ // SSL/TLS connection functions.
+ void StartTls();
+ void ProcessTlsConnectDone(int status);
+
void DidCompleteRead(int result);
void DoRead();
@@ -70,6 +74,8 @@
void OnRead(int result);
void OnWritten(int result);
+ void DoSendSocketCreateMsg();
+
net::IPEndPoint remote_address_;
scoped_ptr<net::StreamSocket> socket_;

Powered by Google App Engine
This is Rietveld 408576698