blob: 1b0d365accd1b461cf41e6ceb3fb18d43a264ff7 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// 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_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_H_
#import "ios/chrome/browser/ui/settings/password_details_collection_view_controller_delegate.h"
#import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller.h"
namespace autofill {
struct PasswordForm;
} // namespace autofill
@protocol ReauthenticationProtocol;
@interface PasswordDetailsCollectionViewController
: SettingsRootCollectionViewController
// The designated initializer. |delegate| and |reauthenticaionModule| must not
// be nil.
- (instancetype)
initWithPasswordForm:(const autofill::PasswordForm&)passwordForm
delegate:
(id<PasswordDetailsCollectionViewControllerDelegate>)delegate
reauthenticationModule:(id<ReauthenticationProtocol>)reauthenticationModule
NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithLayout:(UICollectionViewLayout*)layout
style:(CollectionViewControllerStyle)style
NS_UNAVAILABLE;
@end
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_H_