Index: ios/showcase/suggestions/sc_suggestions_coordinator.mm |
diff --git a/ios/showcase/suggestions/sc_suggestions_coordinator.mm b/ios/showcase/suggestions/sc_suggestions_coordinator.mm |
index 06c6feb1c4692016878f56078b222c4355f6d4d9..2e17822a58c0c100394f6ee553facc941d67e095 100644 |
--- a/ios/showcase/suggestions/sc_suggestions_coordinator.mm |
+++ b/ios/showcase/suggestions/sc_suggestions_coordinator.mm |
@@ -4,18 +4,18 @@ |
#import "ios/showcase/suggestions/sc_suggestions_coordinator.h" |
-#import "ios/chrome/browser/ui/suggestions/suggestions_commands.h" |
-#import "ios/chrome/browser/ui/suggestions/suggestions_view_controller.h" |
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h" |
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h" |
#import "ios/showcase/common/protocol_alerter.h" |
#if !defined(__has_feature) || !__has_feature(objc_arc) |
#error "This file requires ARC support." |
#endif |
-@interface SCSuggestionsCoordinator ()<SuggestionsCommands> |
+@interface SCSuggestionsCoordinator ()<ContentSuggestionsCommands> |
@property(nonatomic, strong) |
- SuggestionsViewController* suggestionViewController; |
+ ContentSuggestionsViewController* suggestionViewController; |
@property(nonatomic, strong) ProtocolAlerter* alerter; |
@end |
@@ -30,10 +30,10 @@ |
- (void)start { |
self.alerter = [[ProtocolAlerter alloc] |
- initWithProtocols:@[ @protocol(SuggestionsCommands) ]]; |
+ initWithProtocols:@[ @protocol(ContentSuggestionsCommands) ]]; |
self.alerter.baseViewController = self.baseViewController; |
- _suggestionViewController = [[SuggestionsViewController alloc] |
+ _suggestionViewController = [[ContentSuggestionsViewController alloc] |
initWithStyle:CollectionViewControllerStyleDefault]; |
_suggestionViewController.suggestionCommandHandler = self; |
lpromero
2017/01/20 12:15:44
Might be out of scope: wasn't the alerter supposed
gambard
2017/01/20 12:32:12
It has been done in another CL (I will need to reb
|
@@ -42,7 +42,7 @@ |
animated:YES]; |
} |
-#pragma mark - SuggestionsCommands |
+#pragma mark - ContentSuggestionsCommands |
- (void)addEmptyItem { |
[self.suggestionViewController addTextItem:@"Button clicked" |
@@ -51,11 +51,11 @@ |
} |
- (void)openReadingList { |
- [static_cast<id<SuggestionsCommands>>(self.alerter) openReadingList]; |
+ [static_cast<id<ContentSuggestionsCommands>>(self.alerter) openReadingList]; |
} |
- (void)openFirstPageOfReadingList { |
- [static_cast<id<SuggestionsCommands>>(self.alerter) |
+ [static_cast<id<ContentSuggestionsCommands>>(self.alerter) |
openFirstPageOfReadingList]; |
} |