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

Unified Diff: net/http/proxy_connect_redirect_http_stream.h

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/proxy_connect_redirect_http_stream.h
diff --git a/net/http/proxy_connect_redirect_http_stream.h b/net/http/proxy_connect_redirect_http_stream.h
index 701d18d425a0be30f8fc081793024b3871c405c3..251a21af7b75296f8cdb2e20d02a4b3712ee2cf0 100644
--- a/net/http/proxy_connect_redirect_http_stream.h
+++ b/net/http/proxy_connect_redirect_http_stream.h
@@ -5,6 +5,8 @@
#ifndef NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_
#define NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_
+#include <stdint.h>
+
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "net/base/load_timing_info.h"
@@ -50,6 +52,7 @@ class ProxyConnectRedirectHttpStream : public HttpStream {
bool IsConnectionReusable() const override;
int64 GetTotalReceivedBytes() const override;
+ int64_t GetTotalSentBytes() const override;
// This function may be called.
bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;

Powered by Google App Engine
This is Rietveld 408576698