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

Unified Diff: net/socket/ssl_client_socket_mac.cc

Issue 7084007: Adds URLRequestJob bytes read to NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 9 years, 7 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: net/socket/ssl_client_socket_mac.cc
===================================================================
--- net/socket/ssl_client_socket_mac.cc (revision 87467)
+++ net/socket/ssl_client_socket_mac.cc (working copy)
@@ -1195,8 +1195,8 @@
// which otherwise would get out of sync with the SSLContextRef's internal
// state machine.
if (processed > 0) {
- LogByteTransfer(net_log_, NetLog::TYPE_SSL_SOCKET_BYTES_RECEIVED,
- processed, user_read_buf_->data());
+ net_log_.AddByteTransferEvent(NetLog::TYPE_SSL_SOCKET_BYTES_RECEIVED,
+ processed, user_read_buf_->data());
return processed;
}
@@ -1224,8 +1224,8 @@
&processed);
if (processed > 0) {
- LogByteTransfer(net_log_, NetLog::TYPE_SSL_SOCKET_BYTES_SENT, processed,
- user_write_buf_->data());
+ net_log_.AddByteTransferEvent(NetLog::TYPE_SSL_SOCKET_BYTES_SENT, processed,
+ user_write_buf_->data());
return processed;
}

Powered by Google App Engine
This is Rietveld 408576698