Chromium Code Reviews| Index: chrome/common/extensions/url_pattern.cc |
| diff --git a/chrome/common/extensions/url_pattern.cc b/chrome/common/extensions/url_pattern.cc |
| index c72f98cfea037dea5dc91f42eb2039577d86e76a..6f89a0386715e6bdfad7f8632dca5a6e16575ceb 100644 |
| --- a/chrome/common/extensions/url_pattern.cc |
| +++ b/chrome/common/extensions/url_pattern.cc |
| @@ -130,6 +130,9 @@ bool URLPattern::operator==(const URLPattern& other) const { |
| URLPattern::ParseResult URLPattern::Parse(const std::string& pattern) { |
| spec_.clear(); |
| + SetMatchAllURLs(false); |
| + SetMatchSubdomains(false); |
| + SetPort("*"); |
|
groby-ooo-7-16
2012/02/14 00:14:30
Why are we setting those here? Isn't that covered
Greg Billock
2012/02/14 01:21:46
This is actually in another CL that has gone in al
|
| // Special case pattern to match every valid URL. |
| if (pattern == kAllUrlsPattern) { |