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

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

Issue 2891363002: Add long press actions for Most Visited tiles (Closed)
Patch Set: Address comments 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/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 00d2d4d03cdad23f1cc8514d024777fe7459c8b9..0ba0a2e5a1b2c066e7d8e9a6e305aa4f97fc1b96 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
@@ -26,6 +26,7 @@ class MostVisitedSites;
@protocol ContentSuggestionsCommands;
@class ContentSuggestionIdentifier;
+class GURL;
// Mediator for ContentSuggestions. Makes the interface between a
// ntp_snippets::ContentSuggestionsService and the Objective-C services using
@@ -52,6 +53,12 @@ initWithContentService:
- (void)dismissSuggestion:
(nonnull ContentSuggestionIdentifier*)suggestionIdentifier;
+// Blacklists the URL from the Most Visited sites.
+- (void)blacklistMostVisitedURL:(GURL)URL;
+
+// Whitelists the URL from the Most Visited sites.
+- (void)whitelistMostVisitedURL:(GURL)URL;
+
@end
#endif // IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_MEDIATOR_H_

Powered by Google App Engine
This is Rietveld 408576698