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_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "components/omnibox/browser/autocomplete_input.h" | 15 #include "components/omnibox/browser/autocomplete_input.h" |
14 #include "components/omnibox/browser/autocomplete_match_type.h" | 16 #include "components/omnibox/browser/autocomplete_match_type.h" |
15 #include "components/search_engines/template_url.h" | 17 #include "components/search_engines/template_url.h" |
16 #include "ui/base/page_transition_types.h" | 18 #include "ui/base/page_transition_types.h" |
17 #include "url/gurl.h" | 19 #include "url/gurl.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 const base::string16& text, | 424 const base::string16& text, |
423 const ACMatchClassifications& classifications) const; | 425 const ACMatchClassifications& classifications) const; |
424 #endif | 426 #endif |
425 }; | 427 }; |
426 | 428 |
427 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification; | 429 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification; |
428 typedef std::vector<ACMatchClassification> ACMatchClassifications; | 430 typedef std::vector<ACMatchClassification> ACMatchClassifications; |
429 typedef std::vector<AutocompleteMatch> ACMatches; | 431 typedef std::vector<AutocompleteMatch> ACMatches; |
430 | 432 |
431 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ | 433 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_MATCH_H_ |
OLD | NEW |