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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 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 | 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 COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERV ER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERV ER_H_
7 7
8 #include "components/autofill/browser/webdata/autofill_change.h" 8 #include "components/autofill/core/browser/webdata/autofill_change.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 11
12 class AutofillWebDataServiceObserverOnDBThread { 12 class AutofillWebDataServiceObserverOnDBThread {
13 public: 13 public:
14 // Called on DB thread whenever Autofill entries are changed. 14 // Called on DB thread whenever Autofill entries are changed.
15 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {} 15 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {}
16 16
17 // Called on DB thread when an AutofillProfile has been added/removed/updated 17 // Called on DB thread when an AutofillProfile has been added/removed/updated
18 // in the WebDatabase. 18 // in the WebDatabase.
19 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {} 19 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {}
20 20
21 protected: 21 protected:
22 virtual ~AutofillWebDataServiceObserverOnDBThread() {} 22 virtual ~AutofillWebDataServiceObserverOnDBThread() {}
23 }; 23 };
24 24
25 class AutofillWebDataServiceObserverOnUIThread { 25 class AutofillWebDataServiceObserverOnUIThread {
26 public: 26 public:
27 // Called on UI thread when multiple Autofill entries have been modified by 27 // Called on UI thread when multiple Autofill entries have been modified by
28 // Sync. 28 // Sync.
29 virtual void AutofillMultipleChanged() {} 29 virtual void AutofillMultipleChanged() {}
30 30
31 protected: 31 protected:
32 virtual ~AutofillWebDataServiceObserverOnUIThread() {} 32 virtual ~AutofillWebDataServiceObserverOnUIThread() {}
33 }; 33 };
34 34
35 } // namespace autofill 35 } // namespace autofill
36 36
37 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERVER _H_ 37 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBS ERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698