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

Unified Diff: net/http/failing_http_transaction_factory.cc

Issue 1327763003: Added and implemented URLRequest::GetTotalSentBytes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spdy_sent_bytes_impl
Patch Set: Addressed nits Created 5 years, 3 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 | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/failing_http_transaction_factory.cc
diff --git a/net/http/failing_http_transaction_factory.cc b/net/http/failing_http_transaction_factory.cc
index 89e5329d5d99bece047b8e9823dd4e4219c49122..9603b7aa49007cfbb2f7a9ef1c193ccff4b409a1 100644
--- a/net/http/failing_http_transaction_factory.cc
+++ b/net/http/failing_http_transaction_factory.cc
@@ -4,6 +4,8 @@
#include "net/http/failing_http_transaction_factory.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/location.h"
@@ -49,6 +51,7 @@ class FailingHttpTransaction : public HttpTransaction {
void StopCaching() override;
bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
int64 GetTotalReceivedBytes() const override;
+ int64_t GetTotalSentBytes() const override;
void DoneReading() override;
const HttpResponseInfo* GetResponseInfo() const override;
LoadState GetLoadState() const override;
@@ -122,6 +125,10 @@ int64 FailingHttpTransaction::GetTotalReceivedBytes() const {
return 0;
}
+int64_t FailingHttpTransaction::GetTotalSentBytes() const {
+ return 0;
+}
+
void FailingHttpTransaction::DoneReading() {
NOTREACHED();
}
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698