summaryrefslogtreecommitdiffstats
path: root/extensions/common/url_pattern.h
diff options
context:
space:
mode:
authoraboxhall@chromium.org <aboxhall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-09 22:40:39 +0000
committeraboxhall@chromium.org <aboxhall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-09 22:40:39 +0000
commita601619860e81bc299bb4356a14f05420293fd22 (patch)
treecf665964ce76b9a978b51225a4208bd710eb4133 /extensions/common/url_pattern.h
parent69a3301ce8dbc43705ff1b25287bd6e8bfcc7575 (diff)
downloadchromium_src-a601619860e81bc299bb4356a14f05420293fd22.zip
chromium_src-a601619860e81bc299bb4356a14f05420293fd22.tar.gz
chromium_src-a601619860e81bc299bb4356a14f05420293fd22.tar.bz2
Add stream operators for URLPattern and URLPatternSet and unit test for URLPatternSet
BUG= Review URL: https://codereview.chromium.org/300573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/url_pattern.h')
-rw-r--r--extensions/common/url_pattern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h
index 63550fd..871d7ad 100644
--- a/extensions/common/url_pattern.h
+++ b/extensions/common/url_pattern.h
@@ -5,6 +5,7 @@
#define EXTENSIONS_COMMON_URL_PATTERN_H_
#include <functional>
+#include <iosfwd>
#include <string>
#include <vector>
@@ -248,6 +249,8 @@ class URLPattern {
mutable std::string spec_;
};
+std::ostream& operator<<(std::ostream& out, const URLPattern& url_pattern);
+
typedef std::vector<URLPattern> URLPatternList;
#endif // EXTENSIONS_COMMON_URL_PATTERN_H_