diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-18 16:37:52 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-18 16:37:52 +0000 |
commit | 457f5cf27e7b74c5e6d161015532794f2ae88365 (patch) | |
tree | edd3e6391684548c467af53402b65cbc27e18983 /chrome/browser/automation/automation_provider.h | |
parent | a7d94269905bb49fa0fb349a93d23ef121a96db0 (diff) | |
download | chromium_src-457f5cf27e7b74c5e6d161015532794f2ae88365.zip chromium_src-457f5cf27e7b74c5e6d161015532794f2ae88365.tar.gz chromium_src-457f5cf27e7b74c5e6d161015532794f2ae88365.tar.bz2 |
Cleanup in AutomationProvider's navigation observer.
Remove unnecessary parameters. Instead of making the callers customize the return codes,
just standardize on already present constants.
This is a preparation needed before implementing waiting for multiple navigations.
TEST=Covered by ui_tests.
http://crbug.com/19395
Review URL: http://codereview.chromium.org/171064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index bdd1c87..0997653 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -75,16 +75,8 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, // navigation observer is returned. This object should NOT be deleted and // should be released by calling the corresponding // RemoveNavigationStatusListener method. - // The template argument NavigationCodeType facilitate the creation of the - // approriate NavigationNotificationObserver instance, which subscribes to - // the events published by the NotificationService and sends out a response - // to the IPC message. - template<class NavigationCodeType> NotificationObserver* AddNavigationStatusListener( - NavigationController* tab, IPC::Message* reply_message, - NavigationCodeType success_code, - NavigationCodeType auth_needed_code, - NavigationCodeType failed_code); + NavigationController* tab, IPC::Message* reply_message); void RemoveNavigationStatusListener(NotificationObserver* obs); |