| Index: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
|
| diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
|
| index 0d87cd068fbb5326471daea70bf4a1572ac10e32..ae88ae19292da45a8b58825e96a42391966566fd 100644
|
| --- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
|
| +++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
|
| @@ -52,7 +52,8 @@ class AutofillWebDataBackendImpl
|
| scoped_refptr<WebDatabaseBackend> web_database_backend,
|
| scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
|
| scoped_refptr<base::SingleThreadTaskRunner> db_thread,
|
| - const base::Closure& on_changed_callback);
|
| + const base::Closure& on_changed_callback,
|
| + const base::Callback<void(syncer::ModelType)>& on_sync_started_callback);
|
|
|
| // AutofillWebDataBackend implementation.
|
| void AddObserver(AutofillWebDataServiceObserverOnDBThread* observer) override;
|
| @@ -61,6 +62,7 @@ class AutofillWebDataBackendImpl
|
| WebDatabase* GetDatabase() override;
|
| void RemoveExpiredFormElements() override;
|
| void NotifyOfMultipleAutofillChanges() override;
|
| + void NotifyThatSyncHasStarted(syncer::ModelType model_type) override;
|
|
|
| // Returns a SupportsUserData objects that may be used to store data
|
| // owned by the DB thread on this object. Should be called only from
|
| @@ -224,6 +226,7 @@ class AutofillWebDataBackendImpl
|
| scoped_refptr<WebDatabaseBackend> web_database_backend_;
|
|
|
| base::Closure on_changed_callback_;
|
| + base::Callback<void(syncer::ModelType)> on_sync_started_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AutofillWebDataBackendImpl);
|
| };
|
|
|