Chromium Code Reviews| Index: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h |
| diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h |
| index 7a1bcf066aa40f5a16868d86371f5fef586beec7..24c50915d575d5bd4898ea82c2cca3df763056b2 100644 |
| --- a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h |
| +++ b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h |
| @@ -11,10 +11,19 @@ namespace ios { |
| class ChromeBrowserState; |
| } |
| +@protocol UrlLoader; |
| + |
| // Coordinator to manage the Suggestions UI via a |
| // ContentSuggestionsViewController. |
| @interface ContentSuggestionsCoordinator : ChromeCoordinator |
| +- (instancetype)initWithBaseViewController:(UIViewController*)viewController |
| + loader:(id<UrlLoader>)loader |
|
lpromero
2017/02/14 16:18:17
Can you instead make it a property?
gambard
2017/02/15 10:37:56
Done.
|
| + NS_DESIGNATED_INITIALIZER; |
| + |
| +- (instancetype)initWithBaseViewController:(UIViewController*)viewController |
| + NS_UNAVAILABLE; |
| + |
| // BrowserState used to create the ContentSuggestionFactory. |
| @property(nonatomic, assign) ios::ChromeBrowserState* browserState; |
| // Whether the Suggestions UI is displayed. If this is true, start is a no-op. |