summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h')
-rw-r--r--chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h b/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h
index 43ff06e9619..aa37b89bc4d 100644
--- a/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h
+++ b/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend.h
@@ -34,6 +34,12 @@ class AutofillWebDataBackend {
// Remove expired elements from the database and commit if needed.
virtual void RemoveExpiredFormElements() = 0;
+ // Commits the currently open transaction in the database. Should be only used
+ // by parties that talk directly to the database and not through the
+ // WebDatabase backend (notably Sync reacting to remote changes coming from
+ // the server).
+ virtual void CommitChanges() = 0;
+
// Notifies listeners on the DB sequence that an AutofillProfile has been
// added/removed/updated in the WebDatabase.
// NOTE: This method is intended to be called from the DB sequence. The UI