Index: components/omnibox/browser/suggestion_answer.h |
diff --git a/components/omnibox/browser/suggestion_answer.h b/components/omnibox/browser/suggestion_answer.h |
index 8b9c04284b7153a6cbe8862855a92992444dd3a9..e59ad7f60d80cbaba01bb38319a3640e0b2cd0bd 100644 |
--- a/components/omnibox/browser/suggestion_answer.h |
+++ b/components/omnibox/browser/suggestion_answer.h |
@@ -105,6 +105,7 @@ class SuggestionAnswer { |
ImageLine* image_line); |
const TextFields& text_fields() const { return text_fields_; } |
+ int num_text_lines() const { return num_text_lines_; } |
const TextField* additional_text() const { return additional_text_.get(); } |
const TextField* status_text() const { return status_text_.get(); } |
const GURL& image_url() const { return image_url_; } |
@@ -120,6 +121,7 @@ class SuggestionAnswer { |
ImageLine& operator=(const ImageLine&); |
TextFields text_fields_; |
+ int num_text_lines_; |
std::unique_ptr<TextField> additional_text_; |
std::unique_ptr<TextField> status_text_; |
GURL image_url_; |
@@ -128,7 +130,7 @@ class SuggestionAnswer { |
}; |
SuggestionAnswer(); |
- SuggestionAnswer(const SuggestionAnswer& answer); |
+ SuggestionAnswer(const SuggestionAnswer& answer) = default; |
~SuggestionAnswer(); |
// Parses |answer_json| and returns a SuggestionAnswer containing the |