// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CLEAR_BROWSING_DATA_CLEAR_BROWSING_DATA_COORDINATOR_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_CLEAR_BROWSING_DATA_CLEAR_BROWSING_DATA_COORDINATOR_H_
#import <Foundation/Foundation.h>
#import "ios/chrome/browser/shared/coordinator/chrome_coordinator/chrome_coordinator.h"
@class ClearBrowsingDataCoordinator;
// Delegate that allows controlling the ClearBrowsingDataCoordinator.
@protocol ClearBrowsingDataCoordinatorDelegate
// Called when the view controller is removed from navigation controller.
- (void)clearBrowsingDataCoordinatorViewControllerWasRemoved:
(ClearBrowsingDataCoordinator*)coordinator;
@end
// The coordinator for the Clear Browsing Data screen.
@interface ClearBrowsingDataCoordinator : ChromeCoordinator
@property(nonatomic, weak) id<ClearBrowsingDataCoordinatorDelegate> delegate;
- (instancetype)initWithBaseViewController:(UIViewController*)viewController
browser:(Browser*)browser NS_UNAVAILABLE;
- (instancetype)initWithBaseNavigationController:
(UINavigationController*)navigationController
browser:(Browser*)browser
NS_DESIGNATED_INITIALIZER;
@end
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_CLEAR_BROWSING_DATA_CLEAR_BROWSING_DATA_COORDINATOR_H_