blob: cfacb84e62ac3e848917b5926e9d31ed23cb973f [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ios/chrome/browser/ui/first_run/history_sync/history_sync_screen_coordinator.h"
#import "ios/chrome/browser/shared/model/browser/browser.h"
#import "ios/chrome/browser/shared/model/browser_state/chrome_browser_state.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
@implementation HistorySyncScreenCoordinator {
__weak id<FirstRunScreenDelegate> _delegate;
BOOL _firstRun;
}
@synthesize baseNavigationController = _baseNavigationController;
- (instancetype)initWithBaseNavigationController:
(UINavigationController*)navigationController
browser:(Browser*)browser
firstRun:(BOOL)firstRun
delegate:(id<FirstRunScreenDelegate>)
delegate {
self = [super initWithBaseViewController:navigationController
browser:browser];
if (self) {
_baseNavigationController = navigationController;
_delegate = delegate;
_firstRun = firstRun;
}
return self;
}
@end