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

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

Issue 1057473003: Remove BooleanPrefMember usage from Data Reduction Proxy IO classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 8 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: 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 8cb016eb79b9ce37cf34570688e0f9b661b45be2..0290d6e1f45f85efc4a6a0d748ea103099e9fe4b 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
@@ -13,12 +13,7 @@
#include "net/base/layered_network_delegate.h"
#include "net/proxy/proxy_retry_info.h"
-template<class T> class PrefMember;
-
-typedef PrefMember<bool> BooleanPrefMember;
-
class GURL;
-class PrefService;
namespace net {
class HttpResponseHeaders;
@@ -64,7 +59,6 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
// report UMA.
void InitIODataAndUMA(
DataReductionProxyIOData* io_data,
- BooleanPrefMember* data_reduction_proxy_enabled,
DataReductionProxyBypassStats* bypass_stats);
// Creates a |Value| summary of the state of the network session. The caller
@@ -117,9 +111,6 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
// Total original size of all content before it was transferred.
int64 original_content_length_;
- // Weak, owned by our owner.
- BooleanPrefMember* data_reduction_proxy_enabled_;
-
// All raw Data Reduction Proxy pointers must outlive |this|.
DataReductionProxyConfig* data_reduction_proxy_config_;

Powered by Google App Engine
This is Rietveld 408576698