Index: chrome/browser/autofill/autofill_profile.cc |
=================================================================== |
--- chrome/browser/autofill/autofill_profile.cc (revision 54215) |
+++ chrome/browser/autofill/autofill_profile.cc (working copy) |
@@ -205,6 +205,7 @@ |
return summary_format; |
} |
+// static |
bool AutoFillProfile::AdjustInferredLabels( |
std::vector<AutoFillProfile*>* profiles) { |
std::vector<string16> created_labels; |
@@ -222,6 +223,7 @@ |
return updated_labels; |
} |
+// static |
void AutoFillProfile::CreateInferredLabels( |
const std::vector<AutoFillProfile*>* profiles, |
std::vector<string16>* created_labels, |
@@ -375,6 +377,12 @@ |
} |
} |
+bool AutoFillProfile::IsEmpty() const { |
+ FieldTypeSet types; |
+ GetAvailableFieldTypes(&types); |
+ return types.empty(); |
+} |
+ |
void AutoFillProfile::operator=(const AutoFillProfile& source) { |
label_ = source.label_; |
unique_id_ = source.unique_id_; |