Index: components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h |
index b308742aa3426fa6ece7a7f5a93dbb9322c2f86b..0e4cab215a81fa9743f37652f28dbd74474af5a8 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h |
@@ -39,6 +39,8 @@ |
int64 original_content_length, |
int64 received_content_length); |
+#if defined(OS_ANDROID) || defined(OS_IOS) |
+// TODO(bengr): Remove platform-specific ifdefs. |
// This is only exposed for testing. It is normally called by |
// UpdateContentLengthPrefs. |
void UpdateContentLengthPrefsForDataReductionProxy( |
@@ -47,6 +49,7 @@ |
bool with_data_reduction_proxy_enabled, |
DataReductionProxyRequestType request_type, |
base::Time now, PrefService* prefs); |
+#endif |
// Records daily data savings statistics to prefs and reports data savings UMA. |
void UpdateContentLengthPrefs( |