Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2411693003: Move blocking of top-level navigations to nested URLs with extension origins from non-extension pro… (Closed)
Patch Set: review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 007f69b15ec609724447899f31792ce6e18090a8..0dd2ff3d3039568a11579f38b5ad6f407e1b3245 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -3196,8 +3196,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
#endif
#if defined(ENABLE_EXTENSIONS)
- if (!handle->IsInMainFrame())
- throttles.push_back(new extensions::ExtensionNavigationThrottle(handle));
+ throttles.push_back(new extensions::ExtensionNavigationThrottle(handle));
#endif
subresource_filter::ContentSubresourceFilterDriverFactory*

Powered by Google App Engine
This is Rietveld 408576698