Index: chrome/common/extensions/url_pattern_set.h |
diff --git a/chrome/common/extensions/url_pattern_set.h b/chrome/common/extensions/url_pattern_set.h |
index 9bfd48b8a686a64e81114cb8e4ca7cf106d573b7..f310a11d0063aac66cb0c7f965fee32e04e47844 100644 |
--- a/chrome/common/extensions/url_pattern_set.h |
+++ b/chrome/common/extensions/url_pattern_set.h |
@@ -84,7 +84,16 @@ class URLPatternSet { |
bool allow_file_access, |
std::string* error); |
+ bool Populate(const std::vector<std::string>& patterns, |
+ int valid_schemes, |
+ bool allow_file_access, |
+ std::string* error); |
+ |
private: |
+ bool ParseURLPattern(URLPattern& pattern, |
+ const std::string& item, |
+ bool allow_file_access, |
+ std::string* error); |
// The list of URL patterns that comprise the extent. |
std::set<URLPattern> patterns_; |
}; |