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

Unified Diff: net/http/http_stream_factory_impl_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_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index a3a624a48e5eca3dce2dc5f44e7e79617ad1e6fb..cb8c79bd9a0fd2645dc20c7e138bec5ce6fbaed4 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "net/http/http_stream_factory_impl.h"
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -86,6 +88,7 @@ class MockWebSocketHandshakeStream : public WebSocketHandshakeStreamBase {
void SetConnectionReused() override {}
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