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

Side by Side Diff: components/webdata/autofill/autofill_webdata_service_observer.h

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_OBSERVER_H_ 5 #ifndef COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_OBSERVER_H_ 6 #define COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_
7 7
8 #include "chrome/browser/webdata/autofill_change.h" 8 #include "components/webdata/autofill/autofill_change.h"
9 9
10 class AutofillWebDataServiceObserverOnDBThread { 10 class AutofillWebDataServiceObserverOnDBThread {
11 public: 11 public:
12 // Called on DB thread whenever Autofill entries are changed. 12 // Called on DB thread whenever Autofill entries are changed.
13 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {} 13 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {}
14 14
15 // Called on DB thread when an AutofillProfile has been added/removed/updated 15 // Called on DB thread when an AutofillProfile has been added/removed/updated
16 // in the WebDatabase. 16 // in the WebDatabase.
17 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {} 17 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {}
18 18
19 protected: 19 protected:
20 virtual ~AutofillWebDataServiceObserverOnDBThread() {} 20 virtual ~AutofillWebDataServiceObserverOnDBThread() {}
21 }; 21 };
22 22
23 class AutofillWebDataServiceObserverOnUIThread { 23 class AutofillWebDataServiceObserverOnUIThread {
24 public: 24 public:
25 // Called on UI thread whenever the web database service has finished loading 25 // Called on UI thread whenever the web database service has finished loading
26 // the web database. 26 // the web database.
27 virtual void WebDatabaseLoaded() {} 27 virtual void WebDatabaseLoaded() {}
28 28
29 // Called on UI thread when multiple Autofill entries have been modified by 29 // Called on UI thread when multiple Autofill entries have been modified by
30 // Sync. 30 // Sync.
31 virtual void AutofillMultipleChanged() {} 31 virtual void AutofillMultipleChanged() {}
32 32
33 protected: 33 protected:
34 virtual ~AutofillWebDataServiceObserverOnUIThread() {} 34 virtual ~AutofillWebDataServiceObserverOnUIThread() {}
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_OBSERVER_H_ 37 #endif // COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698