| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index e0707b57e2b600faf0905ec199422a92a1252992..57b1d569765c5b6dd4c68d0afc20b4d84c7b2664 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -60,6 +60,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_io_data.h"
|
| #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
|
| +#include "chrome/browser/renderer_host/data_reduction_proxy_navigation_throttle_android.h"
|
| #include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h"
|
| #include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
| #include "chrome/browser/safe_browsing/ui_manager.h"
|
| @@ -2718,6 +2719,14 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
| }
|
| #endif
|
|
|
| +#if defined(OS_ANDROID)
|
| + scoped_ptr<content::NavigationThrottle> data_reduction_proxy_throttle =
|
| + DataReductionProxyNavigationThrottle::MaybeCreate(
|
| + handle, g_browser_process->safe_browsing_service());
|
| + if (data_reduction_proxy_throttle)
|
| + throttles.push_back(data_reduction_proxy_throttle.Pass());
|
| +#endif
|
| +
|
| return throttles.Pass();
|
| }
|
|
|
|
|