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

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: Rebase again 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.
dhollowa 2013/03/12 22:22:28 nit: No need for "(c)"
kaiwang 2013/03/13 04:57:20 Are you sure? Most of the code have this...
dhollowa 2013/03/13 16:15:28 http://crbug.com/140977
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 class WebDataServiceObserver {
Jói 2013/03/12 23:27:34 Kai, can you add a TODO here that we'll need to sp
kaiwang 2013/03/13 04:57:20 Done.
11 public:
12 // Called whenever autofill entries are changed.
dhollowa 2013/03/12 22:22:28 nit: capitalize "Autofill" when talking about the
kaiwang 2013/03/13 04:57:20 Done.
13 virtual void AutofillEntriesChanged(const AutofillChangeList& changes) {}
14
15 // Called when an AutofillProfile has been added/removed/updated in the
16 // WebDatabase.
17 virtual void AutofillProfileChanged(const AutofillProfileChange& change) {}
18
19 // Called when multiple Autofill entries have been modified by Sync.
20 virtual void AutofillMultipleChanged() {}
21
22 // Called whenever the web database service has finished loading the web
23 // database.
24 virtual void WebDatabaseLoaded() {}
25
26 protected:
27 virtual ~WebDataServiceObserver() {}
28 };
29
30 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698