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

Unified Diff: net/http/http_response_body_drainer_unittest.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/http/http_response_body_drainer_unittest.cc
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc
index ca206b7f5c7c71f2bdb9fb7d27d2de63608dfa40..4468e48244baec20f7ec9b0d75f0abb7144a0de3 100644
--- a/net/http/http_response_body_drainer_unittest.cc
+++ b/net/http/http_response_body_drainer_unittest.cc
@@ -4,6 +4,8 @@
#include "net/http/http_response_body_drainer.h"
+#include <stdint.h>
+
#include <cstring>
#include "base/bind.h"
@@ -101,6 +103,7 @@ class MockHttpStream : public HttpStream {
void SetConnectionReused() override {}
bool IsConnectionReusable() const override { return false; }
int64 GetTotalReceivedBytes() const override { return 0; }
+ int64_t GetTotalSentBytes() const override { return 0; }
void GetSSLInfo(SSLInfo* ssl_info) override {}
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}

Powered by Google App Engine
This is Rietveld 408576698