summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_snippets/content_suggestion.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/ntp_snippets/content_suggestion.h')
-rw-r--r--chromium/components/ntp_snippets/content_suggestion.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/components/ntp_snippets/content_suggestion.h b/chromium/components/ntp_snippets/content_suggestion.h
index 1b70c38fbd1..312c710f062 100644
--- a/chromium/components/ntp_snippets/content_suggestion.h
+++ b/chromium/components/ntp_snippets/content_suggestion.h
@@ -141,6 +141,11 @@ class ContentSuggestion {
publisher_name_ = publisher_name;
}
+ bool is_video_suggestion() const { return is_video_suggestion_; }
+ void set_is_video_suggestion(bool is_video_suggestion) {
+ is_video_suggestion_ = is_video_suggestion;
+ }
+
// TODO(pke): Remove the score from the ContentSuggestion class. The UI only
// uses it to track user clicks (histogram data). Instead, the providers
// should be informed about clicks and do appropriate logging themselves.
@@ -209,6 +214,8 @@ class ContentSuggestion {
// RemoteSuggestion.
base::Time fetch_date_;
+ bool is_video_suggestion_;
+
DISALLOW_COPY_AND_ASSIGN(ContentSuggestion);
};