diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 18:40:37 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 18:40:37 +0000 |
commit | a1ec63a64fbb15d6ed20bc3fb856b48d3a5835e2 (patch) | |
tree | ca9ff360285a4d04498480b60e6a7a21850e5670 /chrome/browser/notifications/desktop_notifications_unittest.cc | |
parent | 002c9bbb960f20bbb088fc716e3438d673750729 (diff) | |
download | chromium_src-a1ec63a64fbb15d6ed20bc3fb856b48d3a5835e2.zip chromium_src-a1ec63a64fbb15d6ed20bc3fb856b48d3a5835e2.tar.gz chromium_src-a1ec63a64fbb15d6ed20bc3fb856b48d3a5835e2.tar.bz2 |
When extensions use notifications, display the name of the extension in UI rather than the "origin".
BUG=26961
TEST=test extension linked in the bug
Review URL: http://codereview.chromium.org/385058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/desktop_notifications_unittest.cc')
-rw-r--r-- | chrome/browser/notifications/desktop_notifications_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/notifications/desktop_notifications_unittest.cc b/chrome/browser/notifications/desktop_notifications_unittest.cc index 819e70f..868cb33 100644 --- a/chrome/browser/notifications/desktop_notifications_unittest.cc +++ b/chrome/browser/notifications/desktop_notifications_unittest.cc @@ -32,6 +32,7 @@ void MockBalloonCollection::Add(const Notification& notification, // balloon collection. Notification test_notification(notification.origin_url(), notification.content_url(), + notification.display_source(), log_proxy_.get()); BalloonCollectionImpl::Add(test_notification, profile); } @@ -39,6 +40,7 @@ void MockBalloonCollection::Add(const Notification& notification, bool MockBalloonCollection::Remove(const Notification& notification) { Notification test_notification(notification.origin_url(), notification.content_url(), + notification.display_source(), log_proxy_.get()); return BalloonCollectionImpl::Remove(test_notification); } |