Index: components/autofill/core/browser/autofill_profile.h |
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h |
index fa09e75b50573ed2d98680273cdec8696c0e35dd..e5cef3f043ff255d1d7453708a150dc2dc22402f 100644 |
--- a/components/autofill/core/browser/autofill_profile.h |
+++ b/components/autofill/core/browser/autofill_profile.h |
@@ -122,6 +122,11 @@ class AutofillProfile : public AutofillDataModel { |
bool IsSubsetOf(const AutofillProfile& profile, |
const std::string& app_locale) const; |
+ // Like IsSubsetOf, but only considers the types present in |types|. |
+ bool IsSubsetOfForFieldSet(const AutofillProfile& profile, |
+ const std::string& app_locale, |
+ const ServerFieldTypeSet& types) const; |
+ |
// Overwrites the single-valued field data in |profile| with this |
// Profile. Or, for multi-valued fields append the new values. |
void OverwriteWithOrAddTo(const AutofillProfile& profile, |