| Index: components/omnibox/browser/search_suggestion_parser.h
|
| diff --git a/components/omnibox/browser/search_suggestion_parser.h b/components/omnibox/browser/search_suggestion_parser.h
|
| index 9a1ddd49ba43f86bf67ebe083cfad6a6ae62872e..23eedbe846757f96fc0c65dd4c19f6aa2048bcc0 100644
|
| --- a/components/omnibox/browser/search_suggestion_parser.h
|
| +++ b/components/omnibox/browser/search_suggestion_parser.h
|
| @@ -201,12 +201,17 @@ class SearchSuggestionParser {
|
| bool from_keyword_provider,
|
| int relevance,
|
| bool relevance_from_server,
|
| - const base::string16& input_text);
|
| + const base::string16& input_text,
|
| + const std::string& zero_suggest_specific_type);
|
| + NavigationResult(const NavigationResult& nav);
|
| ~NavigationResult() override;
|
|
|
| const GURL& url() const { return url_; }
|
| const base::string16& description() const { return description_; }
|
| const base::string16& formatted_url() const { return formatted_url_; }
|
| + const std::string& zero_suggest_specific_type() const {
|
| + return zero_suggest_specific_type_;
|
| + }
|
|
|
| // Fills in |match_contents_| and |match_contents_class_| to reflect how
|
| // the URL should be displayed and bolded against the current |input_text|.
|
| @@ -229,6 +234,10 @@ class SearchSuggestionParser {
|
|
|
| // The suggested navigational result description; generally the site name.
|
| base::string16 description_;
|
| +
|
| + // If this suggestion is a zero suggest suggestion, this will be set to the
|
| + // specific subtype of the result.
|
| + std::string zero_suggest_specific_type_;
|
| };
|
|
|
| typedef std::vector<SuggestResult> SuggestResults;
|
|
|