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

Side by Side Diff: components/ntp_snippets/reading_list/reading_list_distillation_state_util.h

Issue 2780793002: Add extra information for ReadingList ContentSuggestion (Closed)
Patch Set: Address comments Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_NTP_SNIPPETS_READING_LIST_READING_LIST_DISTILLATION_STATE_UTI L_H_
6 #define COMPONENTS_NTP_SNIPPETS_READING_LIST_READING_LIST_DISTILLATION_STATE_UTI L_H_
7
8 #include "components/ntp_snippets/content_suggestion.h"
9 #include "components/reading_list/core/reading_list_entry.h"
10
11 namespace ntp_snippets {
12
13 ReadingListEntry::DistillationState ReadingListStateFromSuggestionState(
14 ReadingListSuggestionExtra::ReadingListSuggestionDistilledState
15 distilled_state);
16
17 ReadingListSuggestionExtra::ReadingListSuggestionDistilledState
18 SuggestionStateFromReadingListState(
19 ReadingListEntry::DistillationState distilled_state);
20
21 } // namespace ntp_snippets
22
23 #endif // COMPONENTS_NTP_SNIPPETS_READING_LIST_READING_LIST_DISTILLATION_STATE_ UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698