summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/web_data_service.h
diff options
context:
space:
mode:
authorskrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 18:53:57 +0000
committerskrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 18:53:57 +0000
commit83cb9e0a28d12f4c68e75dca6df33678f754e302 (patch)
treeeed727623e48bdf4f07c3a9d4e07bae682c9491f /chrome/browser/webdata/web_data_service.h
parent4bdd8e1ead1683e5ccba967d252c0ef50ff1d722 (diff)
downloadchromium_src-83cb9e0a28d12f4c68e75dca6df33678f754e302.zip
chromium_src-83cb9e0a28d12f4c68e75dca6df33678f754e302.tar.gz
chromium_src-83cb9e0a28d12f4c68e75dca6df33678f754e302.tar.bz2
Add notification for autofill changes.
This is the first in a series of changes for adding notifications to autofill. This change adds the notification plumbing to WebDataService::AddFormFieldValues that sends a simple notification. The next change will add a Details<> payload to the notification with a list of changes that were performed, and then I will expand the notifications to the other autofill mutation methods. Review URL: http://codereview.chromium.org/455027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/web_data_service.h')
-rw-r--r--chrome/browser/webdata/web_data_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h
index 956a9c9..8735c45 100644
--- a/chrome/browser/webdata/web_data_service.h
+++ b/chrome/browser/webdata/web_data_service.h
@@ -19,6 +19,7 @@
struct IE7PasswordInfo;
#endif
class MessageLoop;
+class NotificationType;
class Task;
class WebDatabase;
@@ -372,6 +373,9 @@ class WebDataService : public base::RefCountedThreadSafe<WebDataService> {
// WebDataServiceConsumer is about to be deleted.
void CancelRequest(Handle h);
+ // Sends a notification using the notification service.
+ void Notify(NotificationType type);
+
//////////////////////////////////////////////////////////////////////////////
//
// Autofill.