From bfd04a62ce610d7bb61dbb78811dccbed23589b7 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sun, 1 Feb 2009 18:16:56 +0000 Subject: Remove most header file dependencies on the notification type list. It is really painful to add more types, since lots of headers include the notification service to derive from the notification observer. This splits that out, so much less of the project should end up including notification_types.h ---Paths modified but not in any changelist: Review URL: http://codereview.chromium.org/19744 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9020 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/automation/automation_autocomplete_edit_tracker.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/automation/automation_autocomplete_edit_tracker.h') diff --git a/chrome/browser/automation/automation_autocomplete_edit_tracker.h b/chrome/browser/automation/automation_autocomplete_edit_tracker.h index 81f0ecd..e6d4cbd 100644 --- a/chrome/browser/automation/automation_autocomplete_edit_tracker.h +++ b/chrome/browser/automation/automation_autocomplete_edit_tracker.h @@ -12,7 +12,7 @@ class AutomationAutocompleteEditTracker: public AutomationResourceTracker { public: explicit AutomationAutocompleteEditTracker(IPC::Message::Sender* automation) - : AutomationResourceTracker(automation) { } + : AutomationResourceTracker(automation) { } virtual ~AutomationAutocompleteEditTracker() { ClearAllMappings(); @@ -20,13 +20,13 @@ class AutomationAutocompleteEditTracker: virtual void AddObserver(AutocompleteEditView* resource) { NotificationService::current()->AddObserver( - this, NOTIFY_AUTOCOMPLETE_EDIT_DESTROYED, + this, NotificationType::AUTOCOMPLETE_EDIT_DESTROYED, Source(resource)); } virtual void RemoveObserver(AutocompleteEditView* resource) { NotificationService::current()->RemoveObserver( - this, NOTIFY_AUTOCOMPLETE_EDIT_DESTROYED, + this, NotificationType::AUTOCOMPLETE_EDIT_DESTROYED, Source(resource)); } }; -- cgit v1.1