OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ |
6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | 12 #include "base/macros.h" |
11 | 13 |
12 class SearchTermsData; | 14 class SearchTermsData; |
13 class TemplateURL; | 15 class TemplateURL; |
14 | 16 |
15 // TemplateURLParser, as the name implies, handling reading of TemplateURLs | 17 // TemplateURLParser, as the name implies, handling reading of TemplateURLs |
16 // from OpenSearch description documents. | 18 // from OpenSearch description documents. |
17 class TemplateURLParser { | 19 class TemplateURLParser { |
18 public: | 20 public: |
19 class ParameterFilter { | 21 class ParameterFilter { |
20 public: | 22 public: |
(...skipping 22 matching lines...) Expand all Loading... |
43 ParameterFilter* parameter_filter); | 45 ParameterFilter* parameter_filter); |
44 | 46 |
45 private: | 47 private: |
46 // No one should create one of these. | 48 // No one should create one of these. |
47 TemplateURLParser(); | 49 TemplateURLParser(); |
48 | 50 |
49 DISALLOW_COPY_AND_ASSIGN(TemplateURLParser); | 51 DISALLOW_COPY_AND_ASSIGN(TemplateURLParser); |
50 }; | 52 }; |
51 | 53 |
52 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ | 54 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PARSER_H_ |
OLD | NEW |