Index: chrome/browser/autocomplete/search_provider.h |
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h |
index adf3004a33370adfe06690496b9156627a991a63..928c510a4cca7b4ea1430e136a56d0d0b2024fab 100644 |
--- a/chrome/browser/autocomplete/search_provider.h |
+++ b/chrome/browser/autocomplete/search_provider.h |
@@ -240,6 +240,7 @@ class SearchProvider : public AutocompleteProvider, |
class SuggestResult : public Result { |
public: |
SuggestResult(const base::string16& suggestion, |
+ AutocompleteMatchType::Type type, |
const base::string16& match_contents, |
const base::string16& annotation, |
const std::string& suggest_query_params, |
@@ -251,6 +252,7 @@ class SearchProvider : public AutocompleteProvider, |
virtual ~SuggestResult(); |
const base::string16& suggestion() const { return suggestion_; } |
+ AutocompleteMatchType::Type type() const { return type_; } |
const base::string16& match_contents() const { return match_contents_; } |
const base::string16& annotation() const { return annotation_; } |
const std::string& suggest_query_params() const { |
@@ -269,6 +271,8 @@ class SearchProvider : public AutocompleteProvider, |
// The search terms to be used for this suggestion. |
base::string16 suggestion_; |
+ AutocompleteMatchType::Type type_; |
+ |
// The contents to be displayed in the autocomplete match. |
base::string16 match_contents_; |