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

Unified Diff: net/quic/quic_http_stream.cc

Issue 1314783007: Added and implemented HttpStream::GetTotalSentBytes for basic streams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed mmenke comments Created 5 years, 4 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/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index ab46a6d2a10d4b49016cb3e11f7ed3c8eccabe47..39601c57eaf681ef875641821ed767c9b887f2e1 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -264,6 +264,11 @@ int64 QuicHttpStream::GetTotalReceivedBytes() const {
return closed_stream_received_bytes_;
}
+int64_t QuicHttpStream::GetTotalSentBytes() const {
+ // TODO(sclittle): Implement this for real. http://crbug.com/518897.
+ return 0;
+}
+
bool QuicHttpStream::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const {
// TODO(mmenke): Figure out what to do here.
return true;

Powered by Google App Engine
This is Rietveld 408576698