summaryrefslogtreecommitdiffstats
path: root/chrome/common/content_settings_pattern.cc
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 01:49:21 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 01:49:21 +0000
commit33d8bdda6040493a4d79594bd988b2c595209237 (patch)
tree39eb5bee9672b4e896d56cf5d12c1a2d7c197c5b /chrome/common/content_settings_pattern.cc
parent8bd9357c66b6197b55b68c179bd480aa3472ea9f (diff)
downloadchromium_src-33d8bdda6040493a4d79594bd988b2c595209237.zip
chromium_src-33d8bdda6040493a4d79594bd988b2c595209237.tar.gz
chromium_src-33d8bdda6040493a4d79594bd988b2c595209237.tar.bz2
Whitelist extensions with bundled plug-ins for plug-ins.
BUG=113494 TEST=chromoting works with click-to-play. Review URL: http://codereview.chromium.org/9395006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/content_settings_pattern.cc')
-rw-r--r--chrome/common/content_settings_pattern.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/common/content_settings_pattern.cc b/chrome/common/content_settings_pattern.cc
index bf00802..1eb0697 100644
--- a/chrome/common/content_settings_pattern.cc
+++ b/chrome/common/content_settings_pattern.cc
@@ -210,8 +210,6 @@ bool ContentSettingsPattern::Builder::Validate(const PatternParts& parts) {
// If the pattern is for an extension URL test if it is valid.
if (parts.scheme == std::string(chrome::kExtensionScheme) &&
- !parts.host.empty() &&
- !parts.has_domain_wildcard &&
parts.port.empty() &&
!parts.is_port_wildcard) {
return true;