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

Unified Diff: net/http/bidirectional_stream.h

Issue 1883883002: Log sent and received bytes in net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | net/http/bidirectional_stream.cc » ('j') | net/http/bidirectional_stream.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/bidirectional_stream.h
diff --git a/net/http/bidirectional_stream.h b/net/http/bidirectional_stream.h
index 7e6152a48f9d699b62d8853419dfdde9267e1e51..1e3e2c00556eac56df927a9c23fd744a83c2c13d 100644
--- a/net/http/bidirectional_stream.h
+++ b/net/http/bidirectional_stream.h
@@ -202,6 +202,13 @@ class NET_EXPORT BidirectionalStream
// non-NULL, if the |stream_request_| successfully finishes.
scoped_ptr<BidirectionalStreamImpl> stream_impl_;
+ // Buffer used for reading.
+ scoped_refptr<IOBuffer> read_buffer_;
+ // Buffer used for writing.
+ scoped_refptr<IOBuffer> write_buffer_;
+ // Length of |write_buffer_|.
+ size_t write_buffer_len_;
+
DISALLOW_COPY_AND_ASSIGN(BidirectionalStream);
};
« no previous file with comments | « no previous file | net/http/bidirectional_stream.cc » ('j') | net/http/bidirectional_stream.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698