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

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 nits 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
« no previous file with comments | « no previous file | chrome/browser/net/chrome_extensions_network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*
« no previous file with comments | « no previous file | chrome/browser/net/chrome_extensions_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698