summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_service.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add a CHECK when an object tries to remove itself as an observer from ↵jam@chromium.org2009-11-031-1/+8
| | | | | | | | | | NotificationService but no matching entry is found. This is most likely an object being deleted on the wrong thread, and it'll lead to a crash later. BUG=25354 Review URL: http://codereview.chromium.org/342091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30801 0039d316-1c4b-4281-b951-d872f2087c98
* Make NotificationObserver leaks into LOG(INFO).evan@chromium.org2009-08-031-1/+1
| | | | | | | | | | | | | | This severely cuts down on the WARNING spam seen when running UI tests. Peter already fixed the majority of NotificationObservers into using a scoped class to manage their lifetime, so the remaining observers are unlikely to be changed. BUG=11010 Review URL: http://codereview.chromium.org/159806 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22334 0039d316-1c4b-4281-b951-d872f2087c98
* Add a note pointing at a bug so others don't waste time.evan@chromium.org2009-04-241-0/+3
| | | | | | Review URL: http://codereview.chromium.org/101002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14501 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CHECK for NULL observers. I got a NULL pointer exception when notifyingbrettw@chromium.org2009-02-191-0/+7
| | | | | | | | on a notification, which is impossible to track down since I don't know who added it. Review URL: http://codereview.chromium.org/20502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10035 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most header file dependencies on the notification type list. It isbrettw@chromium.org2009-02-011-25/+34
| | | | | | | | | | | 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
* Move a bunch of code from the old to new TLS interface.deanm@chromium.org2008-09-101-4/+11
| | | | | | Review URL: http://codereview.chromium.org/1660 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1982 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* TrackedObjects assumes you can use a "TLS slot" of -1 to indicate ↵evanm@google.com2008-08-201-4/+6
| | | | | | uninitialized. This isn't true for the pthread_key_t type, which is unsigned on Linux and reportedly a struct on Macs. This change modifies the Slot type to be a struct containing an "initialized" flag. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1122 0039d316-1c4b-4281-b951-d872f2087c98
* Revert. Failing unit tests.evanm@google.com2008-08-201-6/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1118 0039d316-1c4b-4281-b951-d872f2087c98
* TrackedObjects assumes you can use a "TLS slot" of -1 to indicate ↵evanm@google.com2008-08-201-4/+6
| | | | | | uninitialized. This isn't true for the pthread_key_t type, which is unsigned on Linux and reportedly a struct on Macs. This change modifies the Slot type to be a struct containing an "initialized" flag. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1113 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome to the repository.initial.commit2008-07-261-0/+140
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15 0039d316-1c4b-4281-b951-d872f2087c98