| Index: components/ntp_snippets/content_suggestion.h
|
| diff --git a/components/ntp_snippets/content_suggestion.h b/components/ntp_snippets/content_suggestion.h
|
| index 75f3d4c9b9cfb4e7ded26759d9e7fc326fcc86ef..a4c6e18debe550bec49dd5d8c3eb1233a76417e0 100644
|
| --- a/components/ntp_snippets/content_suggestion.h
|
| +++ b/components/ntp_snippets/content_suggestion.h
|
| @@ -112,6 +112,13 @@ class ContentSuggestion {
|
| // This may be an AMP URL.
|
| const GURL& url() const { return url_; }
|
|
|
| + // The URL of a page that links to a favicon that represents the suggestion.
|
| + // Can be empty. In such a case, url() should be used, instead.
|
| + const GURL& url_with_favicon() const { return url_with_favicon_; }
|
| + void set_url_with_favicon(const GURL& url_with_favicon) {
|
| + url_with_favicon_ = url_with_favicon;
|
| + }
|
| +
|
| // Title of the suggestion.
|
| const base::string16& title() const { return title_; }
|
| void set_title(const base::string16& title) { title_ = title; }
|
| @@ -186,6 +193,7 @@ class ContentSuggestion {
|
| private:
|
| ID id_;
|
| GURL url_;
|
| + GURL url_with_favicon_;
|
| base::string16 title_;
|
| base::string16 snippet_text_;
|
| base::Time publish_date_;
|
|
|