diff options
author | dewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-01 04:32:32 +0000 |
---|---|---|
committer | dewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-01 04:32:32 +0000 |
commit | de76a00527a67e949685e2673da4f00bd17d4c77 (patch) | |
tree | 8edea49c83e5318b5273b4808e2e34347e44173d /ash/system | |
parent | fd8aa3d6fbbd012d9c3cfe7f18dff3e318f3dd56 (diff) | |
download | chromium_src-de76a00527a67e949685e2673da4f00bd17d4c77.zip chromium_src-de76a00527a67e949685e2673da4f00bd17d4c77.tar.gz chromium_src-de76a00527a67e949685e2673da4f00bd17d4c77.tar.bz2 |
Cause byUser to be passed correctly by c.e.notification API.
The switch away from BalloonView and friends caused the regression where
byUser is always false in the chrome.experimental.notification.onClosed
handler.
TEST=NotificationApiTest.TestByUser
TBR=ben@chromium.org for chrome/browser/ui/views/ browsertest.
BUG=176308
Review URL: https://chromiumcodereview.appspot.com/12328099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system')
-rw-r--r-- | ash/system/web_notification/web_notification_tray_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc index ae43b76..45e0ac9 100644 --- a/ash/system/web_notification/web_notification_tray_unittest.cc +++ b/ash/system/web_notification/web_notification_tray_unittest.cc @@ -51,7 +51,8 @@ class TestDelegate : public message_center::MessageCenter::Delegate { } // WebNotificationTray::Delegate overrides. - virtual void NotificationRemoved(const std::string& notifcation_id) OVERRIDE { + virtual void NotificationRemoved(const std::string& notifcation_id, + bool by_user) OVERRIDE { notification_ids_.erase(notifcation_id); } |