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

Unified Diff: net/quic/quic_reliable_client_stream.h

Issue 1360063002: Include HTTP header bytes in GetTotalSent/ReceivedBytes for QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 5 years, 3 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 | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_reliable_client_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_reliable_client_stream.h
diff --git a/net/quic/quic_reliable_client_stream.h b/net/quic/quic_reliable_client_stream.h
index a3301d50b227d1bf7c4603875f4ac9d68350e239..98d2757fe63545a35d47ca03e95c7735418eee94 100644
--- a/net/quic/quic_reliable_client_stream.h
+++ b/net/quic/quic_reliable_client_stream.h
@@ -28,7 +28,8 @@ class NET_EXPORT_PRIVATE QuicReliableClientStream : public QuicDataStream {
Delegate() {}
// Called when headers are available.
- virtual void OnHeadersAvailable(const SpdyHeaderBlock& headers) = 0;
+ virtual void OnHeadersAvailable(const SpdyHeaderBlock& headers,
+ size_t frame_len) = 0;
// Called when data is available to be read.
virtual void OnDataAvailable() = 0;
@@ -90,8 +91,8 @@ class NET_EXPORT_PRIVATE QuicReliableClientStream : public QuicDataStream {
using QuicDataStream::HasBufferedData;
private:
- void NotifyDelegateOfHeadersCompleteLater();
- void NotifyDelegateOfHeadersComplete();
+ void NotifyDelegateOfHeadersCompleteLater(size_t frame_len);
+ void NotifyDelegateOfHeadersComplete(size_t frame_len);
void NotifyDelegateOfDataAvailableLater();
void NotifyDelegateOfDataAvailable();
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_reliable_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698