| 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 413033ba0e91195da63da70affd6e0b564995028..c76b6e414d15b0232a429697dcf29d492b7c350f 100644
|
| --- a/chrome/browser/net/chrome_network_delegate.cc
|
| +++ b/chrome/browser/net/chrome_network_delegate.cc
|
| @@ -134,15 +134,9 @@ 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(
|
| + profile->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,
|
|
|