Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: extensions/common/matcher/string_pattern.h

Issue 12092096: Move c/c/extensions/matcher/ to top level extension dir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « extensions/common/matcher/regex_set_matcher_unittest.cc ('k') | extensions/common/matcher/string_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698