Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: components/autofill/core/browser/autofill_field.h

Issue 1639563002: [Autofill] Fill from the last digits when filling a phone number with a maximum length. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9aaf9fcdfae7d89471df1c46d6e319e2a99e993b..98c486d9cf484cd1c7a582951f77303785de749e 100644
--- a/components/autofill/core/browser/autofill_field.h
+++ b/components/autofill/core/browser/autofill_field.h
@@ -89,8 +89,8 @@ class AutofillField : public FormFieldData {
FormFieldData* field_data);
// Returns the phone number value for the given |field|. The returned value
- // might be |number|, or could possibly be a prefix or suffix of |number|
- // if that's appropriate for the field.
+ // might be |number|, or could possibly be a meaningful subset |number|, if
+ // that's appropriate for the field.
static base::string16 GetPhoneNumberValue(const AutofillField& field,
const base::string16& number,
const FormFieldData& field_data);
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_field.cc » ('j') | components/autofill/core/browser/autofill_field.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698