Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm |
index 63b5cde327ced28270bbd2f02e53f2174418a794..6ac323b8fa2b020689d2a855b12a617c0a63bedb 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm |
@@ -103,7 +103,7 @@ string16 AutofillDialogCocoa::GetCvc() { |
} |
bool AutofillDialogCocoa::SaveDetailsLocally() { |
- return false; |
+ return [sheet_controller_ saveDetailsLocally]; |
} |
const content::NavigationController* AutofillDialogCocoa::ShowSignIn() { |
@@ -326,6 +326,10 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed( |
[[mainContainer_ sectionForId:section] getInputs:output]; |
} |
+- (BOOL)saveDetailsLocally { |
+ return [mainContainer_ saveDetailsLocally]; |
+} |
+ |
- (void)hideSignIn { |
[[signInContainer_ view] setHidden:YES]; |
[[mainContainer_ view] setHidden:NO]; |