summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_registrar.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove most header file dependencies on the notification type list. It isbrettw@chromium.org2009-02-011-1/+18
| | | | | | | | | | | 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
* Pass NotificationSource by const ref rather than value, as it's a class (and ↵pkasting@chromium.org2008-10-081-2/+2
| | | | | | | | this matches NotificationObserver). Review URL: http://codereview.chromium.org/6468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3060 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an explicit call from the NavigationController to the alternate URLbrettw@google.com2008-09-161-0/+54
fetcher since there is already a notification that does this. I created a class that will automatically unregister for notifications when it goes out of scope and used it here. I think it will be useful for most consumers of notifications. Review URL: http://codereview.chromium.org/2895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2276 0039d316-1c4b-4281-b951-d872f2087c98