Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Unified Diff: extensions/common/url_pattern.h

Issue 300573002: Add stream operators for URLPattern and URLPatternSet and unit test for URLPatternSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src@permissions
Patch Set: Review comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/common/url_pattern.cc » ('j') | extensions/common/url_pattern_set.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/url_pattern.h
diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h
index 70109dbf03027864f7b99f1e62aa435ab2c8d499..8ac1e3bbe36d0798a5bddaa1bc5e60928fd705ab 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>
@@ -238,6 +239,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_
« no previous file with comments | « no previous file | extensions/common/url_pattern.cc » ('j') | extensions/common/url_pattern_set.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698