blob: e0bfbc0d1967bdfbfcb0151744c5131d482d91d1 [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_AUTOFILL_CREDIT_CARD_EDIT_COLLECTION_VIEW_CONTROLLER_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_CREDIT_CARD_EDIT_COLLECTION_VIEW_CONTROLLER_H_
#import "ios/chrome/browser/ui/settings/legacy_autofill_edit_collection_view_controller.h"
namespace autofill {
class CreditCard;
class PersonalDataManager;
} // namespace autofill
// The collection view for the credit card editor.
@interface AutofillCreditCardEditCollectionViewController
: LegacyAutofillEditCollectionViewController
// Initializes a AutofillCreditCardEditCollectionViewController with
// |creditCard| and |dataManager|. These cannot be null.
- (instancetype)initWithCreditCard:(const autofill::CreditCard&)creditCard
personalDataManager:(autofill::PersonalDataManager*)dataManager
NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithLayout:(UICollectionViewLayout*)layout
style:(CollectionViewControllerStyle)style
NS_UNAVAILABLE;
@end
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_CREDIT_CARD_EDIT_COLLECTION_VIEW_CONTROLLER_H_