| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ |
| 7 | 7 |
| 8 class WebDatabase; | 8 class WebDatabase; |
| 9 | 9 |
| 10 namespace autofill { | 10 namespace autofill { |
| 11 | 11 |
| 12 class AutofillWebDataServiceObserverOnDBThread; | 12 class AutofillWebDataServiceObserverOnDBThread; |
| 13 | 13 |
| 14 // Interface for doing Autofill work directly on the DB thread (used by | 14 // Interface for doing Autofill work directly on the DB thread (used by |
| 15 // Sync, mostly), without fully exposing the AutofillWebDataBackend to clients. | 15 // Sync, mostly), without fully exposing the AutofillWebDataBackend to clients. |
| 16 class AutofillWebDataBackend { | 16 class AutofillWebDataBackend { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // Notifies listeners on the UI thread that multiple changes have been made to | 34 // Notifies listeners on the UI thread that multiple changes have been made to |
| 35 // to Autofill records of the database. | 35 // to Autofill records of the database. |
| 36 // NOTE: This method is intended to be called from the DB thread. It | 36 // NOTE: This method is intended to be called from the DB thread. It |
| 37 // asynchronously notifies listeners on the UI thread. | 37 // asynchronously notifies listeners on the UI thread. |
| 38 virtual void NotifyOfMultipleAutofillChanges() = 0; | 38 virtual void NotifyOfMultipleAutofillChanges() = 0; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace autofill | 41 } // namespace autofill |
| 42 | 42 |
| 43 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ | 43 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ |
| OLD | NEW |