Index: components/autofill/core/browser/autofill_field.h |
diff --git a/components/autofill/core/browser/autofill_field.h b/components/autofill/core/browser/autofill_field.h |
index 1c79bb2fd001fc090115c738fb06e06054185923..7a64ac72b03562a7ffe4951e42e5276b10d041a4 100644 |
--- a/components/autofill/core/browser/autofill_field.h |
+++ b/components/autofill/core/browser/autofill_field.h |
@@ -86,8 +86,14 @@ class AutofillField : public FormFieldData { |
// might be |number|, or could possibly be a prefix or suffix of |number| |
// if that's appropriate for the field. |
static base::string16 GetPhoneNumberValue(const AutofillField& field, |
- const base::string16& number, |
- const FormFieldData& field_data); |
+ const base::string16& number); |
+ |
+ // Returns the credit card number value for the given |field|. The returned |
+ // value might be |number|, or possibly an appropriate substring of |number| |
+ // for cases where credit card number splits across multiple HTML form input |
+ // fields. |
+ static base::string16 GetCreditCardNumberValue(const AutofillField& field, |
+ const base::string16& number); |
Ilya Sherman
2014/10/28 21:48:40
It looks like this change is no longer needed as p
Pritam Nikam
2014/10/29 08:38:16
Done.
I've created a follow-up CL for this code r
|
private: |
// The unique name of this field, generated by Autofill. |