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

Unified Diff: net/http/http_basic_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
« no previous file with comments | « no previous file | net/http/http_basic_stream.cc » ('j') | net/http/http_basic_stream.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_basic_stream.h
diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h
index 194f7ef6c206380a55d1b4ab002222d9b98eb637..10a2563d0a768c58b14c40d6d39035de875c19ef 100644
--- a/net/http/http_basic_stream.h
+++ b/net/http/http_basic_stream.h
@@ -9,6 +9,8 @@
#ifndef NET_HTTP_HTTP_BASIC_STREAM_H_
#define NET_HTTP_HTTP_BASIC_STREAM_H_
+#include <stdint.h>
+
#include <string>
#include "base/basictypes.h"
@@ -66,6 +68,8 @@ class HttpBasicStream : public HttpStream {
int64 GetTotalReceivedBytes() const override;
+ int64_t GetTotalSentBytes() const override;
Bence 2015/09/01 13:45:29 GetTotalReceivedBytes and GetTotalSentBytes should
mmenke 2015/09/01 17:39:43 I completely missed that, thanks for catching it.
sclittle 2015/09/01 20:03:00 Sure. Do you mind if I keep GetTotalSentBytes as i
mmenke 2015/09/01 20:09:07 Works for me
+
bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
void GetSSLInfo(SSLInfo* ssl_info) override;
« no previous file with comments | « no previous file | net/http/http_basic_stream.cc » ('j') | net/http/http_basic_stream.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698