Index: chrome/browser/net/chrome_network_delegate.cc |
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc |
index 42b7463c0cfd528433de1873ef389e1f186f6a0d..765d1d0fe5124c99733098ae9258b65fdbb6f686 100644 |
--- a/chrome/browser/net/chrome_network_delegate.cc |
+++ b/chrome/browser/net/chrome_network_delegate.cc |
@@ -132,22 +132,11 @@ void UpdateContentLengthPrefs( |
profile->IsOffTheRecord()) { |
return; |
} |
-#if defined(OS_ANDROID) && defined(SPDY_PROXY_AUTH_ORIGIN) |
- // If Android ever goes multi profile, the profile should be passed so that |
- // the browser preference will be taken. |
- bool with_data_reduction_proxy_enabled = |
- ProfileManager::GetActiveUserProfile()->GetPrefs()->GetBoolean( |
- data_reduction_proxy::prefs::kDataReductionProxyEnabled); |
-#else |
- bool with_data_reduction_proxy_enabled = false; |
-#endif |
- |
data_reduction_proxy::UpdateContentLengthPrefs( |
received_content_length, |
original_content_length, |
- with_data_reduction_proxy_enabled, |
- request_type, |
- statistics_prefs); |
+ profile->GetPrefs(), |
+ request_type, statistics_prefs); |
} |
void StoreAccumulatedContentLength( |