| 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 710f5b5b500e9523f2147f14b1cb323231912f7e..f7bcb4d69a574036d83385a75fd3c2a1d8e0b481 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -131,6 +131,7 @@
|
| #include "components/security_interstitials/core/ssl_error_ui.h"
|
| #include "components/signin/core/common/profile_management_switches.h"
|
| #include "components/startup_metric_utils/browser/startup_metric_host_impl.h"
|
| +#include "components/subresource_filter/content/browser/subresource_filter_navigation_throttle.h"
|
| #include "components/translate/core/common/translate_switches.h"
|
| #include "components/url_formatter/url_fixer.h"
|
| #include "components/variations/variations_associated_data.h"
|
| @@ -2881,6 +2882,12 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
| throttles.push_back(new extensions::ExtensionNavigationThrottle(handle));
|
| #endif
|
|
|
| + if (handle->IsInMainFrame() && handle->GetURL().SchemeIsHTTPOrHTTPS()) {
|
| + throttles.push_back(
|
| + subresource_filter::SubresourceFilterNavigationThrottle::Create(
|
| + handle));
|
| + }
|
| +
|
| return throttles;
|
| }
|
|
|
|
|