Index: ios/clean/chrome/browser/browser_coordinator.mm |
diff --git a/ios/clean/chrome/browser/browser_coordinator.mm b/ios/clean/chrome/browser/browser_coordinator.mm |
index 828ae8d4f6c66cd4e69feb3565c4e17be8c95f16..f3f79a7fb4e0dd747eff5eb5dfe0411f609f4413 100644 |
--- a/ios/clean/chrome/browser/browser_coordinator.mm |
+++ b/ios/clean/chrome/browser/browser_coordinator.mm |
@@ -21,6 +21,7 @@ |
NSMutableSet<BrowserCoordinator*>* childCoordinators; |
// Parent coordinator of this object, if any. |
@property(nonatomic, readwrite, weak) BrowserCoordinator* parentCoordinator; |
+@property(nonatomic, readwrite) BOOL started; |
@property(nonatomic, readwrite) BOOL overlaying; |
@end |
@@ -30,6 +31,7 @@ |
@synthesize browser = _browser; |
@synthesize childCoordinators = _childCoordinators; |
@synthesize parentCoordinator = _parentCoordinator; |
+@synthesize started = _started; |
@synthesize overlaying = _overlaying; |
- (instancetype)init { |
@@ -43,11 +45,13 @@ |
#pragma mark - Public API |
- (void)start { |
+ self.started = YES; |
[self.parentCoordinator childCoordinatorDidStart:self]; |
} |
- (void)stop { |
[self.parentCoordinator childCoordinatorWillStop:self]; |
+ self.started = NO; |
} |
@end |