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

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

Issue 2782613004: Add FaviconAttributesProvider to ContentSuggestions (Closed)
Patch Set: Rebase Created 3 years, 9 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 11394aa9ce6120525602aaeffeed6675755740f2..9a7746f9494752bf4c86e58888beaf24937726e9 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
@@ -10,6 +10,10 @@
#import "ios/chrome/browser/content_suggestions/content_suggestions_mediator.h"
#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h"
+namespace favicon {
+class LargeIconService;
+}
+
namespace ntp_snippets {
class ContentSuggestionsService;
}
@@ -22,8 +26,9 @@ class ContentSuggestionsService;
@interface ContentSuggestionsMediator : NSObject<ContentSuggestionsDataSource>
// Initialize the mediator with the |contentService| to mediate.
-- (instancetype)initWithContentService:
- (ntp_snippets::ContentSuggestionsService*)contentService
+- (instancetype)
+initWithContentService:(ntp_snippets::ContentSuggestionsService*)contentService
+ largeIconService:(favicon::LargeIconService*)largeIconService
NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;

Powered by Google App Engine
This is Rietveld 408576698