| Index: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
|
| diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
|
| index df3f8c171f7ec4aa6ac1288197854833ce5457fc..90c0cb1883d1e5745533ad1ee9340bd526de8d57 100644
|
| --- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
|
| +++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
|
| @@ -115,7 +115,7 @@ ContentSubresourceFilterDriverFactory::
|
| content::NavigationHandle* navigation_handle) const {
|
| const GURL& url(navigation_handle->GetURL());
|
|
|
| - auto configurations = GetActiveConfigurations();
|
| + const auto configurations = GetActiveConfigurations();
|
| if (configurations->the_one_and_only().activation_level ==
|
| ActivationLevel::DISABLED)
|
| return ActivationDecision::ACTIVATION_DISABLED;
|
| @@ -189,7 +189,7 @@ void ContentSubresourceFilterDriverFactory::WillProcessResponse(
|
|
|
| RecordRedirectChainMatchPattern();
|
|
|
| - auto configurations = GetActiveConfigurations();
|
| + const auto configurations = GetActiveConfigurations();
|
| if (configurations->the_one_and_only().should_whitelist_site_on_reload &&
|
| NavigationIsPageReload(url, referrer, transition)) {
|
| // Whitelist this host for the current as well as subsequent navigations.
|
| @@ -215,7 +215,7 @@ void ContentSubresourceFilterDriverFactory::WillProcessResponse(
|
| }
|
|
|
| void ContentSubresourceFilterDriverFactory::OnFirstSubresourceLoadDisallowed() {
|
| - auto configurations = GetActiveConfigurations();
|
| + const auto configurations = GetActiveConfigurations();
|
| if (configurations->the_one_and_only().should_suppress_notifications)
|
| return;
|
|
|
|
|