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

Unified Diff: net/socket/ssl_client_socket_openssl.h

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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: net/socket/ssl_client_socket_openssl.h
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
index 6343cb7493842647fc25384a4b348eb0a6bea10d..6aaf1e16672d65dc753da56ded07c2e90f546a34 100644
--- a/net/socket/ssl_client_socket_openssl.h
+++ b/net/socket/ssl_client_socket_openssl.h
@@ -187,8 +187,10 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
bool transport_send_busy_;
bool transport_recv_busy_;
- scoped_refptr<DrainableIOBuffer> send_buffer_;
- scoped_refptr<IOBuffer> recv_buffer_;
+ // Buffers which are shared by BoringSSL and SSLClientSocketOpenSSL.
+ // GrowableIOBuffer is used to keep ownership and setting offset.
+ scoped_refptr<GrowableIOBuffer> send_buffer_;
+ scoped_refptr<GrowableIOBuffer> recv_buffer_;
CompletionCallback user_connect_callback_;
CompletionCallback user_read_callback_;

Powered by Google App Engine
This is Rietveld 408576698