Chromium Code Reviews| Index: components/autofill/core/browser/autofill_data_util.h |
| diff --git a/components/autofill/core/browser/autofill_data_util.h b/components/autofill/core/browser/autofill_data_util.h |
| index 1cba1b3e78a147c7ad30c9b5cc27ba6dc6131b19..f0f8a2d4116f3782ba60aad85191877ca73f0c54 100644 |
| --- a/components/autofill/core/browser/autofill_data_util.h |
| +++ b/components/autofill/core/browser/autofill_data_util.h |
| @@ -6,6 +6,7 @@ |
| #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ |
| #include "base/strings/string16.h" |
| +#include "components/autofill/core/browser/autofill_profile.h" |
| namespace autofill { |
| namespace data_util { |
| @@ -22,6 +23,12 @@ struct NameParts { |
| // |name| passed as a parameter. |
| NameParts SplitName(const base::string16& name); |
| +// Returns true iff |full_name| is a concatenation of some combination of the |
| +// first/middle/last (incl. middle initial) in |
| +// |profile|. |
|
Mathieu
2016/04/13 18:12:24
nit: line wrap
|
| +bool ProfileMatchesFullName(const base::string16 full_name, |
| + const autofill::AutofillProfile& profile); |
| + |
| } // namespace data_util |
| } // namespace autofill |