Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 3e42906d86461e6b4c0cdf988a7d9dd3395a2da5..7ca9765281a23c0714efad75d54df28e68288899 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -391,6 +391,10 @@ class ExtensionService |
// permissions the given extension has been granted. |
bool ExtensionBindingsAllowed(const GURL& url); |
+ // Returns true if a normal browser window should avoid showing |url| in a |
+ // tab. In this case, |url| is also rewritten to an error URL. |
+ bool ShouldBlockUrlInBrowserTab(GURL* url); |
+ |
// Returns the icon to display in the omnibox for the given extension. |
gfx::Image GetOmniboxIcon(const std::string& extension_id); |