Index: chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h |
diff --git a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h |
index 6fa281df6d95a697bac179e0872d38ef096f52bd..dd9461f85f4c0c3e553ccd63907040863df89c56 100644 |
--- a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h |
+++ b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h |
@@ -33,6 +33,10 @@ typedef NSInteger AutoFillCreditCardMode; |
// "New credit card" or "Edit credit card" depending on context. |
IBOutlet NSTextField* caption_; |
+ // The credit card number field. This is here for unit testing purposes. |
+ // The text of this field is obfuscated until edited. |
+ IBOutlet NSTextField* creditCardNumberField_; |
+ |
// The primary model for this controller. The model is instantiated |
// from within |initWithCreditCard:|. We do not hold it as a scoped_nsobject |
// because it is exposed as a KVO compliant property. |
@@ -79,4 +83,9 @@ typedef NSInteger AutoFillCreditCardMode; |
@end |
+// Interface exposed for unit testing. |
+@interface AutoFillCreditCardSheetController (ExposedForUnitTests) |
+- (NSTextField*)creditCardNumberField; |
+@end |
+ |
#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_ |