| Index: ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h
|
| diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h b/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h
|
| index e6059ed6cf68e49a67cb220b9d2cd9e3e5c39fd9..c7c38c259d033ec9e007cac72c9e4c3283fa2759 100644
|
| --- a/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h
|
| +++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h
|
| @@ -14,6 +14,7 @@
|
| namespace web {
|
| class WebState;
|
| }
|
| +class WebStateList;
|
|
|
| // A mediator object that provides the relevant properties of a web state
|
| // to a consumer.
|
| @@ -23,10 +24,17 @@ class WebState;
|
| // the lifetime of this object and may be null.
|
| @property(nonatomic, assign) web::WebState* webState;
|
|
|
| +// The WebStateList that this mediator listens for any changes on the total
|
| +// number of Webstates.
|
| +@property(nonatomic, assign) WebStateList* webStateList;
|
| +
|
| // The consumer for this object. This can change during the lifetime of this
|
| // object and may be nil.
|
| @property(nonatomic, strong) id<ToolbarConsumer> consumer;
|
|
|
| +// Stops observing all objects.
|
| +- (void)disconnect;
|
| +
|
| @end
|
|
|
| #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MEDIATOR_H_
|
|
|