Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: components/ntp_snippets/content_suggestion.h

Issue 2865183003: Use the same design for all suggestions (Closed)
Patch Set: Address comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/content_suggestion.h
diff --git a/components/ntp_snippets/content_suggestion.h b/components/ntp_snippets/content_suggestion.h
index 5bc647e4cdab112150b0dfa84a3f12d5b5858a52..1b70c38fbd16712ba2d41359b435527397b1d65c 100644
--- a/components/ntp_snippets/content_suggestion.h
+++ b/components/ntp_snippets/content_suggestion.h
@@ -49,14 +49,8 @@ struct RecentTabSuggestionExtra {
// ReadingListSuggestionExtra contains additional data which is only available
// for Reading List suggestions.
struct ReadingListSuggestionExtra {
- // State of the distillation a suggestion. This is the meaningful extract of
- // ReadingListEntry::DistillationState for the suggestions. It is duplicated
- // here to avoid a dependence on ReadingList.
- enum class ReadingListSuggestionDistilledState { PENDING, SUCCESS, FAILURE };
-
// State of the distillation of the suggestion.
- ReadingListSuggestionDistilledState distilled_state =
- ReadingListSuggestionDistilledState::PENDING;
+ bool distilled = false;
// URL of the page whose favicon should be displayed for this suggestion.
GURL favicon_page_url;
};
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/ntp_snippets/reading_list/reading_list_distillation_state_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698