| Index: extensions/common/url_pattern.cc
|
| diff --git a/extensions/common/url_pattern.cc b/extensions/common/url_pattern.cc
|
| index 685db11cd3faf283cdd417d102f6d38ccc6447b5..f85661a026a4dd0edcc09f24332b8ad9726d2b0e 100644
|
| --- a/extensions/common/url_pattern.cc
|
| +++ b/extensions/common/url_pattern.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "extensions/common/url_pattern.h"
|
|
|
| +#include <ostream>
|
| +
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_piece.h"
|
| #include "base/strings/string_split.h"
|
| @@ -159,6 +161,10 @@ bool URLPattern::operator==(const URLPattern& other) const {
|
| return GetAsString() == other.GetAsString();
|
| }
|
|
|
| +std::ostream& operator<<(std::ostream& out, const URLPattern& url_pattern) {
|
| + return out << '"' << url_pattern.GetAsString() << '"';
|
| +}
|
| +
|
| URLPattern::ParseResult URLPattern::Parse(const std::string& pattern) {
|
| spec_.clear();
|
| SetMatchAllURLs(false);
|
|
|