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

Side by Side Diff: components/url_matcher/string_pattern.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_URL_MATCHER_STRING_PATTERN_H_ 5 #ifndef COMPONENTS_URL_MATCHER_STRING_PATTERN_H_
6 #define COMPONENTS_URL_MATCHER_STRING_PATTERN_H_ 6 #define COMPONENTS_URL_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/macros.h"
12 #include "components/url_matcher/url_matcher_export.h" 12 #include "components/url_matcher/url_matcher_export.h"
13 13
14 namespace url_matcher { 14 namespace url_matcher {
15 15
16 // An individual pattern of a substring or regex matcher. A pattern consists of 16 // An individual pattern of a substring or regex matcher. A pattern consists of
17 // a string (interpreted as individual bytes, no character encoding) and an 17 // a string (interpreted as individual bytes, no character encoding) and an
18 // identifier. 18 // identifier.
19 // IDs are returned to the caller of SubstringSetMatcher::Match() or 19 // IDs are returned to the caller of SubstringSetMatcher::Match() or
20 // RegexMatcher::MatchURL() to help the caller to figure out what 20 // RegexMatcher::MatchURL() to help the caller to figure out what
21 // patterns matched a string. All patterns registered to a matcher 21 // patterns matched a string. All patterns registered to a matcher
(...skipping 12 matching lines...) Expand all
34 private: 34 private:
35 std::string pattern_; 35 std::string pattern_;
36 ID id_; 36 ID id_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(StringPattern); 38 DISALLOW_COPY_AND_ASSIGN(StringPattern);
39 }; 39 };
40 40
41 } // namespace url_matcher 41 } // namespace url_matcher
42 42
43 #endif // COMPONENTS_URL_MATCHER_STRING_PATTERN_H_ 43 #endif // COMPONENTS_URL_MATCHER_STRING_PATTERN_H_
OLDNEW
« no previous file with comments | « components/url_matcher/regex_set_matcher.cc ('k') | components/url_matcher/substring_set_matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698