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

Unified Diff: net/spdy/spdy_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/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index 212b50de826a22abb1fd9609b34af8047db42bfe..ddf354597fe4f185a78e0c0fe1acdab0da388e43 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -187,6 +187,11 @@ int64 SpdyHttpStream::GetTotalReceivedBytes() const {
return stream_->raw_received_bytes();
}
+int64_t SpdyHttpStream::GetTotalSentBytes() const {
+ // TODO(sclittle): Implement this for real. http://crbug.com/518897.
+ return 0;
+}
+
bool SpdyHttpStream::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const {
if (stream_closed_) {
if (!closed_stream_has_load_timing_info_)

Powered by Google App Engine
This is Rietveld 408576698