From e9798c1ed5c164beaf48e28012851bc6e68ba8c4 Mon Sep 17 00:00:00 2001 From: "stevenjb@google.com" Date: Mon, 13 Aug 2012 17:56:45 +0000 Subject: Correctly remove file browser notifications from Ash notification tray. Also added replace_id to DesktopNotificationService::AddNotification so that notifications are correctly replaced/updated. BUG=135286 For minor changes to status_icons/ background/ and printing/: TBR=atwilson@chromium.org,thestig@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151305 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/extensions/file_browser_notifications.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/chromeos/extensions/file_browser_notifications.h') diff --git a/chrome/browser/chromeos/extensions/file_browser_notifications.h b/chrome/browser/chromeos/extensions/file_browser_notifications.h index 039264a..9d74a75 100644 --- a/chrome/browser/chromeos/extensions/file_browser_notifications.h +++ b/chrome/browser/chromeos/extensions/file_browser_notifications.h @@ -84,7 +84,8 @@ class FileBrowserNotifications void ShowNotificationById(NotificationType type, const std::string& notification_id, const string16& message); - void HideNotificationById(const std::string& id); + void HideNotificationById(const std::string& notification_id); + void RemoveNotificationById(const std::string& notification_id); NotificationMap notification_map_; std::set hidden_notifications_; -- cgit v1.1