| 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_AUTOCOMPLETE_SEARCH_SUGGESTION_PARSER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_SEARCH_SUGGESTION_PARSER_H_ |
| 6 #define COMPONENTS_AUTOCOMPLETE_SEARCH_SUGGESTION_PARSER_H_ | 6 #define COMPONENTS_OMNIBOX_SEARCH_SUGGESTION_PARSER_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 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "components/autocomplete/autocomplete_match.h" | 13 #include "components/omnibox/autocomplete_match.h" |
| 14 #include "components/autocomplete/autocomplete_match_type.h" | 14 #include "components/omnibox/autocomplete_match_type.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 class AutocompleteInput; | 17 class AutocompleteInput; |
| 18 class AutocompleteSchemeClassifier; | 18 class AutocompleteSchemeClassifier; |
| 19 | 19 |
| 20 namespace base { | 20 namespace base { |
| 21 class DictionaryValue; | 21 class DictionaryValue; |
| 22 class Value; | 22 class Value; |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 Results* results); | 281 Results* results); |
| 282 | 282 |
| 283 private: | 283 private: |
| 284 // Gets URLs of any images in Answers results. | 284 // Gets URLs of any images in Answers results. |
| 285 static void GetAnswersImageURLs(const base::DictionaryValue* answer_json, | 285 static void GetAnswersImageURLs(const base::DictionaryValue* answer_json, |
| 286 std::vector<GURL>* urls); | 286 std::vector<GURL>* urls); |
| 287 | 287 |
| 288 DISALLOW_COPY_AND_ASSIGN(SearchSuggestionParser); | 288 DISALLOW_COPY_AND_ASSIGN(SearchSuggestionParser); |
| 289 }; | 289 }; |
| 290 | 290 |
| 291 #endif // COMPONENTS_AUTOCOMPLETE_SEARCH_SUGGESTION_PARSER_H_ | 291 #endif // COMPONENTS_OMNIBOX_SEARCH_SUGGESTION_PARSER_H_ |
| OLD | NEW |