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

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

Issue 734263003: Move data reduction proxy logic out of chrome and android webview network delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing test and addressing mmenke comments Created 6 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_metrics.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
index 02e0d1fa30ca1cec8ba3eef6c51de9548e28a115..cbfa180b599db4b65bdcdb28f1bd0bb71af20224 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
+#include "base/prefs/pref_member.h"
#include "base/time/time.h"
namespace net {
@@ -55,7 +56,7 @@ void UpdateContentLengthPrefsForDataReductionProxy(
void UpdateContentLengthPrefs(
int received_content_length,
int original_content_length,
- PrefService* profile_prefs,
+ BooleanPrefMember* data_reduction_proxy_enabled,
DataReductionProxyRequestType request_type,
DataReductionProxyStatisticsPrefs* prefs);

Powered by Google App Engine
This is Rietveld 408576698