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 | 4 |
5 #ifndef EXTENSIONS_COMMON_URL_PATTERN_SET_H_ | 5 #ifndef EXTENSIONS_COMMON_URL_PATTERN_SET_H_ |
6 #define EXTENSIONS_COMMON_URL_PATTERN_SET_H_ | 6 #define EXTENSIONS_COMMON_URL_PATTERN_SET_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
| 9 #include <string> |
| 10 #include <vector> |
9 | 11 |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "extensions/common/url_pattern.h" | 13 #include "extensions/common/url_pattern.h" |
12 | 14 |
13 class GURL; | 15 class GURL; |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 class ListValue; | 18 class ListValue; |
17 class Value; | 19 class Value; |
18 } | 20 } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 std::string* error); | 98 std::string* error); |
97 | 99 |
98 private: | 100 private: |
99 // The list of URL patterns that comprise the extent. | 101 // The list of URL patterns that comprise the extent. |
100 std::set<URLPattern> patterns_; | 102 std::set<URLPattern> patterns_; |
101 }; | 103 }; |
102 | 104 |
103 } // namespace extensions | 105 } // namespace extensions |
104 | 106 |
105 #endif // EXTENSIONS_COMMON_URL_PATTERN_SET_H_ | 107 #endif // EXTENSIONS_COMMON_URL_PATTERN_SET_H_ |
OLD | NEW |