Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: components/autofill/core/browser/webdata/autofill_webdata_backend.h

Issue 1110833002: [autofill] Sync server card and address metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Class comment and one more expectation in test. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
6 #define COMPONENTS_AUTOFILL_CORE_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 {
(...skipping 13 matching lines...) Expand all
24 virtual void AddObserver( 24 virtual void AddObserver(
25 AutofillWebDataServiceObserverOnDBThread* observer) = 0; 25 AutofillWebDataServiceObserverOnDBThread* observer) = 0;
26 26
27 // Remove an observer. 27 // Remove an observer.
28 virtual void RemoveObserver( 28 virtual void RemoveObserver(
29 AutofillWebDataServiceObserverOnDBThread* observer) = 0; 29 AutofillWebDataServiceObserverOnDBThread* observer) = 0;
30 30
31 // Remove expired elements from the database and commit if needed. 31 // Remove expired elements from the database and commit if needed.
32 virtual void RemoveExpiredFormElements() = 0; 32 virtual void RemoveExpiredFormElements() = 0;
33 33
34 // Notifies listeners on the UI thread that multiple changes have been made to 34 // Notifies listeners on both DB and UI threads that multiple changes have
35 // to Autofill records of the database. 35 // been made to 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. The UI
37 // asynchronously notifies listeners on the UI thread. 37 // thread notifications are asynchronous.
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_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ 43 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698