// Copyright 2024 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_DRIVE_FILE_PICKER_COORDINATOR_BROWSE_DRIVE_FILE_PICKER_COORDINATOR_H_
#define IOS_CHROME_BROWSER_DRIVE_FILE_PICKER_COORDINATOR_BROWSE_DRIVE_FILE_PICKER_COORDINATOR_H_
#import "base/memory/weak_ptr.h"
#import "ios/chrome/browser/shared/coordinator/chrome_coordinator/chrome_coordinator.h"
@class DriveItemIdentifier;
@protocol SystemIdentity;
namespace web {
class WebState;
}
// Coordinator of the Browse Drive file picker.
@interface BrowseDriveFilePickerCoordinator : ChromeCoordinator
// Creates a coordinator that uses `viewController`, `browser`, `webState` and
// `folder`.
- (instancetype)
initWithBaseNavigationViewController:
(UINavigationController*)baseNavigationController
browser:(Browser*)browser
webState:(base::WeakPtr<web::WebState>)webState
driveFolderID:(DriveItemIdentifier*)driveFolderID
identity:(id<SystemIdentity>)identity
NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithBaseViewController:(UIViewController*)viewController
browser:(Browser*)browser NS_UNAVAILABLE;
@end
#endif // IOS_CHROME_BROWSER_DRIVE_FILE_PICKER_COORDINATOR_BROWSE_DRIVE_FILE_PICKER_COORDINATOR_H_