Index: chrome/common/extensions/url_pattern.h |
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h |
index f69cd7ab22ee64d236a5814bd3f895ac4300098a..d952216429f123742a63527b78f337a496b2f946 100644 |
--- a/chrome/common/extensions/url_pattern.h |
+++ b/chrome/common/extensions/url_pattern.h |
@@ -98,6 +98,10 @@ class URLPattern { |
// Gets the path the pattern matches with the leading slash. This can have |
// embedded asterisks which are interpreted using glob rules. |
std::string path() const { return path_; } |
+ void set_path(const std::string& path) { |
+ path_ = path; |
+ path_escaped_ = ""; |
Erik does not do reviews
2009/09/10 18:23:21
Is this just unimplemented?
Aaron Boodman
2009/09/10 18:55:31
I'm resetting it because the escaped form is compu
|
+ } |
private: |
// Returns true if |test| matches our host. |