| 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_SEARCH_SUGGESTION_PARSER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_SEARCH_SUGGESTION_PARSER_H_ |
| 6 #define COMPONENTS_OMNIBOX_BROWSER_SEARCH_SUGGESTION_PARSER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_SEARCH_SUGGESTION_PARSER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 14 #include "components/omnibox/browser/autocomplete_match.h" | 14 #include "components/omnibox/browser/autocomplete_match.h" |
| 15 #include "components/omnibox/browser/autocomplete_match_type.h" | 15 #include "components/omnibox/browser/autocomplete_match_type.h" |
| 16 #include "components/omnibox/browser/suggestion_answer.h" | 16 #include "components/omnibox/browser/suggestion_answer.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 | 18 |
| 19 class AutocompleteInput; | 19 class AutocompleteInput; |
| 20 class AutocompleteSchemeClassifier; | 20 class AutocompleteSchemeClassifier; |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class DictionaryValue; | |
| 24 class Value; | 23 class Value; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace net { | 26 namespace net { |
| 28 class URLFetcher; | 27 class URLFetcher; |
| 29 } | 28 } |
| 30 | 29 |
| 31 class SearchSuggestionParser { | 30 class SearchSuggestionParser { |
| 32 public: | 31 public: |
| 33 // The Result classes are intermediate representations of AutocompleteMatches, | 32 // The Result classes are intermediate representations of AutocompleteMatches, |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 const AutocompleteSchemeClassifier& scheme_classifier, | 297 const AutocompleteSchemeClassifier& scheme_classifier, |
| 299 int default_result_relevance, | 298 int default_result_relevance, |
| 300 bool is_keyword_result, | 299 bool is_keyword_result, |
| 301 Results* results); | 300 Results* results); |
| 302 | 301 |
| 303 private: | 302 private: |
| 304 DISALLOW_COPY_AND_ASSIGN(SearchSuggestionParser); | 303 DISALLOW_COPY_AND_ASSIGN(SearchSuggestionParser); |
| 305 }; | 304 }; |
| 306 | 305 |
| 307 #endif // COMPONENTS_OMNIBOX_BROWSER_SEARCH_SUGGESTION_PARSER_H_ | 306 #endif // COMPONENTS_OMNIBOX_BROWSER_SEARCH_SUGGESTION_PARSER_H_ |
| OLD | NEW |