| Index: components/ntp_snippets/ntp_snippet.h
|
| diff --git a/components/ntp_snippets/ntp_snippet.h b/components/ntp_snippets/ntp_snippet.h
|
| index 688098417031b001a998594a0b29b9fa780c18ee..f92d440713403b95d28f9eb28df5471514acf813 100644
|
| --- a/components/ntp_snippets/ntp_snippet.h
|
| +++ b/components/ntp_snippets/ntp_snippet.h
|
| @@ -82,6 +82,9 @@ class NTPSnippet {
|
| const GURL& amp_url() const { return amp_url_; }
|
| void set_amp_url(const GURL& amp_url) { amp_url_ = amp_url; }
|
|
|
| + float score() const { return score_; }
|
| + void set_score(float score) { score_ = score; }
|
| +
|
| // Public for testing.
|
| static base::Time TimeFromJsonString(const std::string& timestamp_str);
|
| static std::string TimeToJsonString(const base::Time& time);
|
| @@ -96,6 +99,7 @@ class NTPSnippet {
|
| base::Time publish_date_;
|
| base::Time expiry_date_;
|
| GURL amp_url_;
|
| + float score_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NTPSnippet);
|
| };
|
|
|