| 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..1c1e1353af35a9f58431b803d10dd1fbc49d5753 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,11 @@ 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|.
|
| +bool ProfileMatchesFullName(const base::string16 full_name,
|
| + const autofill::AutofillProfile& profile);
|
| +
|
| } // namespace data_util
|
| } // namespace autofill
|
|
|
|
|