OLD | NEW |
(Empty) | |
| 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_PROFILE_EDIT_COLLECTION_VIEW_CON
TROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_PROFILE_EDIT_COLLECTION_VIEW_CON
TROLLER_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller
.h" |
| 9 |
| 10 namespace autofill { |
| 11 class AutofillProfile; |
| 12 class PersonalDataManager; |
| 13 } // namespace autofill |
| 14 |
| 15 extern NSString* const kAutofillProfileEditCollectionViewId; |
| 16 |
| 17 // The collection view for the Autofill settings. |
| 18 @interface AutofillProfileEditCollectionViewController |
| 19 : AutofillEditCollectionViewController |
| 20 |
| 21 // Creates a controller for |profile| and |dataManager| that cannot be null. |
| 22 + (instancetype)controllerWithProfile:(const autofill::AutofillProfile&)profile |
| 23 personalDataManager: |
| 24 (autofill::PersonalDataManager*)dataManager; |
| 25 |
| 26 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style |
| 27 NS_UNAVAILABLE; |
| 28 |
| 29 @end |
| 30 |
| 31 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_PROFILE_EDIT_COLLECTION_VIEW_
CONTROLLER_H_ |
OLD | NEW |