Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
index ae83ea7a6fc696cea23e91c402be467c6bc20452..9b5e12356f6319a3ef3196480469b52e829eb6c9 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
@@ -29,6 +29,7 @@ namespace autofill { |
NSTextViewDelegate> { |
@private |
base::scoped_nsobject<GTMWidthBasedTweaker> buttonContainer_; |
+ base::scoped_nsobject<NSButton> saveInChromeCheckbox_; |
base::scoped_nsobject<AutofillDetailsContainer> detailsContainer_; |
base::scoped_nsobject<HyperlinkTextView> legalDocumentsView_; |
base::scoped_nsobject<AutofillNotificationContainer> notificationContainer_; |
@@ -58,6 +59,9 @@ namespace autofill { |
// Called when the controller-maintained suggestions model has changed. |
- (void)modelChanged; |
+// Get status of "Save in Chrome" checkbox. |
+- (BOOL)saveDetailsLocally; |
+ |
// Called when the legal documents text might need to be refreshed. |
- (void)updateLegalDocuments; |
@@ -69,4 +73,12 @@ namespace autofill { |
@end |
+ |
+// AutofillMainContainer helper functions, for testing purposes only. |
+@interface AutofillMainContainer (Testing) |
+ |
+@property(readonly, nonatomic) NSButton* saveInChromeCheckboxForTesting; |
+ |
+@end |
+ |
#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |