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

Side by Side Diff: chrome/browser/webdata/web_data_service_observer.h

Issue 12476031: Refactor notifications of chrome/browser/webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_OBSERVER_H_
7
8 #include "chrome/browser/webdata/autofill_change.h"
9
10 // TODO(kaiwang): Split this into an Autofill-specific part and the rest once we
11 // split the Autofill parts of WebDataService off.
12 class WebDataServiceObserver {
13 public:
14 // Called whenever Autofill entries are changed.
15 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {}
16
17 // Called when an AutofillProfile has been added/removed/updated in the
18 // WebDatabase.
19 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {}
20
21 // Called when multiple Autofill entries have been modified by Sync.
22 virtual void AutofillMultipleChanged() {}
23
24 // Called whenever the web database service has finished loading the web
25 // database.
26 virtual void WebDatabaseLoaded() {}
27
28 protected:
29 virtual ~WebDataServiceObserver() {}
30 };
31
32 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698