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

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

Issue 2798563002: Add MostVistedSites to ContentSuggestionsMediator (Closed)
Patch Set: Rebase (different HEAD) 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
index ed1eabd2e83d9da673ad0a2b27c3ed678929f12e..00d2d4d03cdad23f1cc8514d024777fe7459c8b9 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
@@ -7,6 +7,8 @@
#import <UIKit/UIKit.h>
+#include <memory>
+
#import "ios/chrome/browser/content_suggestions/content_suggestions_mediator.h"
#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h"
@@ -18,6 +20,10 @@ namespace ntp_snippets {
class ContentSuggestionsService;
}
+namespace ntp_tiles {
+class MostVisitedSites;
+}
+
@protocol ContentSuggestionsCommands;
@class ContentSuggestionIdentifier;
@@ -31,6 +37,8 @@ class ContentSuggestionsService;
initWithContentService:
(nonnull ntp_snippets::ContentSuggestionsService*)contentService
largeIconService:(nonnull favicon::LargeIconService*)largeIconService
+ mostVisitedSite:
+ (std::unique_ptr<ntp_tiles::MostVisitedSites>)mostVisitedSites
NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)init NS_UNAVAILABLE;

Powered by Google App Engine
This is Rietveld 408576698