| Index: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
|
| diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
|
| index ad6c132a148410b6c4594658aa7d1885f0de357d..c46c7200237c8646552a84a481bc4655a3d23e8f 100644
|
| --- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
|
| +++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
|
| @@ -245,6 +245,19 @@ scoped_ptr<WDTypedResult> AutofillWebDataBackendImpl::GetAutofillProfiles(
|
| base::Unretained(this))));
|
| }
|
|
|
| +WebDatabase::State AutofillWebDataBackendImpl::UpdateAutofillEntries(
|
| + const std::vector<autofill::AutofillEntry>& autofill_entries,
|
| + WebDatabase* db) {
|
| + DCHECK(db_thread_->BelongsToCurrentThread());
|
| + if (!AutofillTable::FromWebDatabase(db)
|
| + ->UpdateAutofillEntries(autofill_entries)) {
|
| + NOTREACHED();
|
| + return WebDatabase::COMMIT_NOT_NEEDED;
|
| + }
|
| +
|
| + return WebDatabase::COMMIT_NEEDED;
|
| +}
|
| +
|
| WebDatabase::State AutofillWebDataBackendImpl::AddCreditCard(
|
| const CreditCard& credit_card, WebDatabase* db) {
|
| DCHECK(db_thread_->BelongsToCurrentThread());
|
|
|