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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 1279543002: Support needed to measure user and service traffic in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewHistogram
Patch Set: 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_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index ab14571b3fa7a554048ffa7a6d1c965a85e6574e..5357a8ea85755294c2405bf871b9940f1c3e2f76 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -186,6 +186,14 @@ int URLFetcherImpl::GetResponseCode() const {
return core_->GetResponseCode();
}
+int64 URLFetcherImpl::GetBytesReceivedSize() const {
+ return core_->GetBytesReceivedSize();
+}
+
+int64 URLFetcherImpl::GetBytesSentSize() const {
+ return core_->GetBytesSentSize();
+}
+
const ResponseCookies& URLFetcherImpl::GetCookies() const {
return core_->GetCookies();
}

Powered by Google App Engine
This is Rietveld 408576698