Index: chrome/common/extensions/extension.cc |
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc |
index 78dcdffa8e7eead4fa80b110aa74f15d102e4386..722625036fa8cddd0a3c8646c5ca22826a4ad324 100644 |
--- a/chrome/common/extensions/extension.cc |
+++ b/chrome/common/extensions/extension.cc |
@@ -3491,6 +3491,7 @@ const URLPatternSet& Extension::GetEffectiveHostPermissions() const { |
bool Extension::HasHostPermission(const GURL& url) const { |
if (url.SchemeIs(chrome::kChromeUIScheme) && |
url.host() != chrome::kChromeUIFaviconHost && |
+ url.host() != chrome::kChromeUIThemeHost && |
asargent_no_longer_on_chrome
2012/09/14 22:01:01
Are you sure you want to let non-component extensi
zel
2012/09/14 22:29:25
No, we don't, I misinterpreted this if statement.
benrg
2012/09/14 22:38:16
Done.
|
url.host() != chrome::kChromeUIThumbnailHost && |
location() != Extension::COMPONENT) { |
return false; |