retry r168247: more autofill refactoring
makes AutofillProfile and CreditCard better resemble one another. Much code deleted.
BUG=none
fix: revert change to guid() that made it return a reference.
Review URL: https://codereview.chromium.org/11299046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168304 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/autofill/form_group.cc b/chrome/browser/autofill/form_group.cc
index 49ebb88..b814c42 100644
--- a/chrome/browser/autofill/form_group.cc
+++ b/chrome/browser/autofill/form_group.cc
@@ -207,6 +207,11 @@
} // namespace
+std::string FormGroup::GetGUID() const {
+ NOTREACHED();
+ return std::string();
+}
+
void FormGroup::GetMatchingTypes(const string16& text,
FieldTypeSet* matching_types) const {
if (text.empty()) {
@@ -246,6 +251,12 @@
return true;
}
+void FormGroup::FillFormField(const AutofillField& field,
+ size_t variant,
+ FormFieldData* field_data) const {
+ NOTREACHED();
+}
+
void FormGroup::FillSelectControl(AutofillFieldType type,
FormFieldData* field) const {
DCHECK(field);