Lines Matching defs:profile
166 const AutofillProfile& profile, WebDatabase* db) {
168 if (!AutofillTable::FromWebDatabase(db)->AddAutofillProfile(profile)) {
175 AutofillProfileChange::ADD, profile.guid(), &profile);
184 const AutofillProfile& profile, WebDatabase* db) {
186 // Only perform the update if the profile exists. It is currently
187 // valid to try to update a missing profile. We simply drop the write and
190 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(profile.guid(),
196 if (!AutofillTable::FromWebDatabase(db)->UpdateAutofillProfile(profile)) {
203 AutofillProfileChange::UPDATE, profile.guid(), &profile);
214 AutofillProfile* profile = NULL;
215 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(guid, &profile)) {
219 scoped_ptr<AutofillProfile> scoped_profile(profile);
273 // It is currently valid to try to update a missing profile. We simply drop