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

Unified Diff: ios/chrome/browser/content_suggestions/mediator_util.h

Issue 2888533002: Identify MostVisited by item instead of URL (Closed)
Patch Set: Reviewable 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: ios/chrome/browser/content_suggestions/mediator_util.h
diff --git a/ios/chrome/browser/content_suggestions/mediator_util.h b/ios/chrome/browser/content_suggestions/mediator_util.h
index 9e06bfa673b02f0374c2dbaaf3fcd53b5f8327c7..461cc23e5f6453d2a1a5634f49232930ccdaa330 100644
--- a/ios/chrome/browser/content_suggestions/mediator_util.h
+++ b/ios/chrome/browser/content_suggestions/mediator_util.h
@@ -20,6 +20,7 @@ class Category;
@class CollectionViewItem;
@class ContentSuggestionsCategoryWrapper;
+@class ContentSuggestionsMostVisitedItem;
// TODO(crbug.com/701275): Once base::BindBlock supports the move semantics,
// remove this wrapper.
@@ -61,7 +62,7 @@ void RecordPageImpression(const std::vector<ntp_tiles::NTPTile>& mostVisited);
// Converts a ntp_snippets::ContentSuggestion to an adapted CollectionViewItem
jif 2017/05/17 13:13:28 s/ntp_snippets::ContentSuggestion/ntp_tiles::NTPTi
gambard 2017/05/17 14:13:32 Done.
// with a |sectionInfo|.
-CollectionViewItem<SuggestedContent>* ConvertNTPTile(
+ContentSuggestionsMostVisitedItem* ConvertNTPTile(
const ntp_tiles::NTPTile& tile,
ContentSuggestionsSectionInformation* sectionInfo);

Powered by Google App Engine
This is Rietveld 408576698