1 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_AUTOFILL_CREDIT_CARD_TABLE_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_AUTOFILL_CREDIT_CARD_TABLE_VIEW_CONTROLLER_H_ 7 8 #import "ios/chrome/browser/ui/settings/settings_controller_protocol.h" 9 #import "ios/chrome/browser/ui/settings/settings_root_table_view_controller.h" 10 11 class Browser; 12 class ChromeBrowserState; 13 14 // The table view for the Autofill settings. 15 @interface AutofillCreditCardTableViewController 16 : SettingsRootTableViewController <SettingsControllerProtocol> 17 18 // The designated initializer. |browser| must not be nil. 19 - (instancetype)initWithBrowser:(Browser*)browser NS_DESIGNATED_INITIALIZER; 20 21 // Use -initWithBrowser:. 22 - (instancetype)initWithBrowserState:(ChromeBrowserState*)browserState 23 NS_UNAVAILABLE; 24 25 - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE; 26 27 @end 28 29 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_AUTOFILL_CREDIT_CARD_TABLE_VIEW_CONTROLLER_H_ 30