Index: chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.mm |
diff --git a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.mm b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.mm |
index 3a483c555e031ea7da7a483ddd00c117e55df5e5..0c54efd4816b922e4a83db06563f8d236669c83f 100644 |
--- a/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.mm |
+++ b/chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.mm |
@@ -12,6 +12,13 @@ |
#include "chrome/browser/autofill/credit_card.h" |
#include "grit/generated_resources.h" |
+// Interface exposed for unit testing. |
+@implementation AutoFillCreditCardSheetController (ExposedForUnitTests) |
+- (NSTextField*)creditCardNumberField { |
+ return creditCardNumberField_; |
+} |
+@end |
+ |
// Private methods for the |AutoFillCreditCardSheetController| class. |
@interface AutoFillCreditCardSheetController (PrivateMethods) |
- (void)buildBillingAddressContents; |