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

Unified Diff: net/url_request/url_request_http_job_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/url_request/url_request_http_job_unittest.cc
diff --git a/net/url_request/url_request_http_job_unittest.cc b/net/url_request/url_request_http_job_unittest.cc
index d857c962fcda3c7175b07c9f9cc61a1778fc7d17..65220eb19b51b7f6f1f178ad143e45dbddfd61bb 100644
--- a/net/url_request/url_request_http_job_unittest.cc
+++ b/net/url_request/url_request_http_job_unittest.cc
@@ -4,6 +4,8 @@
#include "net/url_request/url_request_http_job.h"
+#include <stdint.h>
+
#include <cstddef>
#include "base/compiler_specific.h"
@@ -611,6 +613,7 @@ class FakeWebSocketHandshakeStream : public WebSocketHandshakeStreamBase {
bool IsConnectionReusable() const override { return false; }
int64 GetTotalReceivedBytes() const override { return 0; }
+ int64_t GetTotalSentBytes() const override { return 0; }
bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
return false;

Powered by Google App Engine
This is Rietveld 408576698