Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index 00e3b6e0406f8278be03d5a4ffaef1c68f4950a0..fca9dd3b22aa5def847d075ade72c1f70048d21e 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -44,6 +44,10 @@ |
#include "net/url_request/url_request_job_factory_impl.h" |
#include "webkit/quota/special_storage_policy.h" |
+#if defined(OS_ANDROID) |
+#include "chrome/app/android/chrome_data_reduction_proxy_android.h" |
+#endif |
+ |
namespace { |
net::BackendType ChooseCacheBackendType() { |
@@ -417,6 +421,10 @@ void ProfileImplIOData::InitializeInternal( |
network_session_params, main_backend); |
main_cache->InitializeInfiniteCache(lazy_params_->infinite_cache_path); |
+#if defined(OS_ANDROID) |
+ ChromeDataReductionProxyAndroid::Init(main_cache->GetSession()); |
+#endif |
+ |
if (record_mode || playback_mode) { |
main_cache->set_mode( |
record_mode ? net::HttpCache::RECORD : net::HttpCache::PLAYBACK); |