Chromium Code Reviews| Index: components/autofill/core/browser/webdata/autofill_webdata_backend.h |
| diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend.h b/components/autofill/core/browser/webdata/autofill_webdata_backend.h |
| index 8b06ffb926f53b07cac0ccb8307c976abdd9494f..3f138ba1f2925083bee26c2ba8a7bd402a1db18f 100644 |
| --- a/components/autofill/core/browser/webdata/autofill_webdata_backend.h |
| +++ b/components/autofill/core/browser/webdata/autofill_webdata_backend.h |
| @@ -5,6 +5,8 @@ |
| #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ |
| #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ |
| +#include "sync/internal_api/public/base/model_type.h" |
| + |
| class WebDatabase; |
| namespace autofill { |
| @@ -36,6 +38,10 @@ class AutofillWebDataBackend { |
| // NOTE: This method is intended to be called from the DB thread. The UI |
| // thread notifications are asynchronous. |
| virtual void NotifyOfMultipleAutofillChanges() = 0; |
| + |
| + // Notifies listeners on both DB and UI threads that sync has started for |
|
Mathieu
2016/07/18 14:53:19
Not sure I see how DB thread observers are notifie
Roger McFarlane (Chromium)
2016/07/18 15:29:18
Copy-paste error, fixed.
|
| + // |model_type|. |
| + virtual void NotifyThatSyncHasStarted(syncer::ModelType model_type) = 0; |
| }; |
| } // namespace autofill |