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

Unified Diff: webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc

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
Index: webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc b/webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc
index 06489aa593792da0f037bc47f97abc9923546344..3d9365477cebfb9584e03e576701893467e307bb 100644
--- a/webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc
+++ b/webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc
@@ -74,12 +74,15 @@ void PPB_TCPSocket_Private_Impl::SendConnectWithNetAddress(
void PPB_TCPSocket_Private_Impl::SendSSLHandshake(
const std::string& server_name,
- uint16_t server_port) {
+ uint16_t server_port,
+ const std::vector<std::vector<char> >& trusted_certs,
+ const std::vector<std::vector<char> >& untrusted_certs) {
PluginDelegate* plugin_delegate = ResourceHelper::GetPluginDelegate(this);
if (!plugin_delegate)
return;
- plugin_delegate->TCPSocketSSLHandshake(socket_id_, server_name, server_port);
+ plugin_delegate->TCPSocketSSLHandshake(socket_id_, server_name, server_port,
+ trusted_certs, untrusted_certs);
}
void PPB_TCPSocket_Private_Impl::SendRead(int32_t bytes_to_read) {

Powered by Google App Engine
This is Rietveld 408576698