| Index: extensions/common/url_pattern.h
|
| diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h
|
| index 5a0e8c6ffd32608ffda548e68b071bfddecba6ad..c7997ca31ec7e22a64710715dd84a1d6e8033c63 100644
|
| --- a/extensions/common/url_pattern.h
|
| +++ b/extensions/common/url_pattern.h
|
| @@ -162,6 +162,9 @@ class URLPattern {
|
| // cached.
|
| bool ImpliesAllHosts() const;
|
|
|
| + // Returns true if the pattern only matches a single origin.
|
| + bool MatchesSingleOrigin() const;
|
| +
|
| // Sets the port. Returns false if the port is invalid.
|
| bool SetPort(const std::string& port);
|
| const std::string& port() const { return port_; }
|
|
|