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 CHROME_COMMON_EXTENSIONS_MATCHER_STRING_PATTERN_H_ | 5 #ifndef EXTENSIONS_COMMON_MATCHER_STRING_PATTERN_H_ |
6 #define CHROME_COMMON_EXTENSIONS_MATCHER_STRING_PATTERN_H_ | 6 #define EXTENSIONS_COMMON_MATCHER_STRING_PATTERN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 | 14 |
15 // An individual pattern of a substring or regex matcher. A pattern consists of | 15 // An individual pattern of a substring or regex matcher. A pattern consists of |
16 // a string (interpreted as individual bytes, no character encoding) and an | 16 // a string (interpreted as individual bytes, no character encoding) and an |
(...skipping 15 matching lines...) Expand all Loading... |
32 | 32 |
33 private: | 33 private: |
34 std::string pattern_; | 34 std::string pattern_; |
35 ID id_; | 35 ID id_; |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(StringPattern); | 37 DISALLOW_COPY_AND_ASSIGN(StringPattern); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace extensions | 40 } // namespace extensions |
41 | 41 |
42 #endif // CHROME_COMMON_EXTENSIONS_MATCHER_STRING_PATTERN_H_ | 42 #endif // EXTENSIONS_COMMON_MATCHER_STRING_PATTERN_H_ |
OLD | NEW |