| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 @protocol ToolsConsumer; | 10 @protocol ToolsConsumer; |
| 11 @class ToolsMenuConfiguration; |
| 11 | 12 |
| 12 // A mediator object that sets a ToolsMenuVC appeareance based on various data | 13 // A mediator object that sets a ToolsMenuVC appeareance based on various data |
| 13 // sources. | 14 // sources. |
| 14 @interface ToolsMediator : NSObject | 15 @interface ToolsMediator : NSObject |
| 15 - (instancetype)initWithConsumer:(id<ToolsConsumer>)consumer | 16 - (instancetype)initWithConsumer:(id<ToolsConsumer>)consumer |
| 17 andConfiguration:(ToolsMenuConfiguration*)menuConfiguration |
| 16 NS_DESIGNATED_INITIALIZER; | 18 NS_DESIGNATED_INITIALIZER; |
| 17 - (instancetype)init NS_UNAVAILABLE; | 19 - (instancetype)init NS_UNAVAILABLE; |
| 18 @end | 20 @end |
| 19 | 21 |
| 20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ | 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ |
| OLD | NEW |