| Index: ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| index 1fba1201dddfa66a7e021ea3db4d7e92670687b3..d44703e9fd0ec11ed911ceac2ba0e706f766eba5 100644
|
| --- a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| +++ b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| @@ -125,6 +125,14 @@ initWithContentService:(ntp_snippets::ContentSuggestionsService*)contentService
|
| self.contentService->DismissSuggestion(suggestion_id);
|
| }
|
|
|
| +- (void)blacklistMostVisitedURL:(GURL)URL {
|
| + _mostVisitedSites->AddOrRemoveBlacklistedUrl(URL, true);
|
| +}
|
| +
|
| +- (void)whitelistMostVisitedURL:(GURL)URL {
|
| + _mostVisitedSites->AddOrRemoveBlacklistedUrl(URL, false);
|
| +}
|
| +
|
| #pragma mark - ContentSuggestionsDataSource
|
|
|
| - (NSArray<ContentSuggestionsSectionInformation*>*)sectionsInfo {
|
|
|