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

Unified Diff: extensions/common/url_pattern_set.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: rebase Created 6 years, 5 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 | « extensions/common/url_pattern.cc ('k') | extensions/common/url_pattern_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/url_pattern_set.h
diff --git a/extensions/common/url_pattern_set.h b/extensions/common/url_pattern_set.h
index 0cab66740ccc9effadc6dfd581d6da5b3c601440..b3116c8c231811c49448eb6a781227ddc6419e91 100644
--- a/extensions/common/url_pattern_set.h
+++ b/extensions/common/url_pattern_set.h
@@ -5,6 +5,7 @@
#ifndef EXTENSIONS_COMMON_URL_PATTERN_SET_H_
#define EXTENSIONS_COMMON_URL_PATTERN_SET_H_
+#include <iosfwd>
#include <set>
#include "base/memory/scoped_ptr.h"
@@ -100,6 +101,9 @@ class URLPatternSet {
std::set<URLPattern> patterns_;
};
+std::ostream& operator<<(std::ostream& out,
+ const URLPatternSet& url_pattern_set);
+
} // namespace extensions
#endif // EXTENSIONS_COMMON_URL_PATTERN_SET_H_
« no previous file with comments | « extensions/common/url_pattern.cc ('k') | extensions/common/url_pattern_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698