Index: ios/chrome/browser/ui/settings/settings_navigation_controller.h |
diff --git a/ios/chrome/browser/ui/settings/settings_navigation_controller.h b/ios/chrome/browser/ui/settings/settings_navigation_controller.h |
index 3532e5ed17305a780a8edde09142d07f8580cd64..b0bd5f1aa59ef5aae958ed8955b94fac67edbb6d 100644 |
--- a/ios/chrome/browser/ui/settings/settings_navigation_controller.h |
+++ b/ios/chrome/browser/ui/settings/settings_navigation_controller.h |
@@ -127,6 +127,13 @@ newImportDataController:(ios::ChromeBrowserState*)browserState |
toEmail:(NSString*)toEmail |
isSignedIn:(BOOL)isSignedIn; |
+// Creates a new AutofillCollectionViewController and the chrome around it. |
+// |browserState| is used to personalize some settings aspects and should not be |
+// nil. |delegate| may be nil. |
++ (SettingsNavigationController*) |
+newAutofillController:(ios::ChromeBrowserState*)browserState |
+ delegate:(id<SettingsNavigationControllerDelegate>)delegate; |
+ |
// Returns a new Done button for a UINavigationItem which will call |
// closeSettings when it is pressed. Should only be called by view controllers |
// owned by SettingsNavigationController. |