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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h

Issue 2592783002: Move session network stats from IO to UI (Closed)
Patch Set: tbansal nits Created 4 years 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
index f0b9a322c2c412840a99b483c2b8c6ad60f3005d..41fc92d7b19a0f60856f3d312380c61ede3445c2 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
@@ -21,10 +21,6 @@
class GURL;
-namespace base {
-class Value;
-}
-
namespace net {
class HttpRequestHeaders;
class NetworkDelegate;
@@ -80,9 +76,6 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
DataReductionProxyIOData* io_data,
DataReductionProxyBypassStats* bypass_stats);
- // Creates a base::Value summary of the state of the network session.
- std::unique_ptr<base::Value> SessionNetworkStatsInfoToValue() const;
-
void SetDataUseGroupProvider(
std::unique_ptr<DataUseGroupProvider> data_use_group_provider);
@@ -162,12 +155,6 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
net::HttpRequestHeaders* request_headers,
const net::URLRequest& request) const;
- // Total size of all content that has been received over the network.
- int64_t total_received_bytes_;
-
- // Total original size of all content before it was transferred.
- int64_t total_original_received_bytes_;
-
// All raw Data Reduction Proxy pointers must outlive |this|.
DataReductionProxyConfig* data_reduction_proxy_config_;

Powered by Google App Engine
This is Rietveld 408576698