OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 #ifndef EXTENSIONS_COMMON_URL_PATTERN_H_ | 4 #ifndef EXTENSIONS_COMMON_URL_PATTERN_H_ |
5 #define EXTENSIONS_COMMON_URL_PATTERN_H_ | 5 #define EXTENSIONS_COMMON_URL_PATTERN_H_ |
6 | 6 |
7 #include <functional> | 7 #include <functional> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
231 std::string path_; | 231 std::string path_; |
232 | 232 |
233 // The path with "?" and "\" characters escaped for use with the | 233 // The path with "?" and "\" characters escaped for use with the |
234 // MatchPattern() function. | 234 // MatchPattern() function. |
235 std::string path_escaped_; | 235 std::string path_escaped_; |
236 | 236 |
237 // A string representing this URLPattern. | 237 // A string representing this URLPattern. |
238 mutable std::string spec_; | 238 mutable std::string spec_; |
239 }; | 239 }; |
240 | 240 |
241 std::ostream& operator<<(std::ostream& out, const URLPattern& url_pattern); | |
Jeffrey Yasskin
2014/05/28 21:06:08
You should probably add a #include <iosfwd> for th
aboxhall
2014/05/28 22:06:44
Done.
| |
242 | |
241 typedef std::vector<URLPattern> URLPatternList; | 243 typedef std::vector<URLPattern> URLPatternList; |
242 | 244 |
243 #endif // EXTENSIONS_COMMON_URL_PATTERN_H_ | 245 #endif // EXTENSIONS_COMMON_URL_PATTERN_H_ |
OLD | NEW |