diff options
author | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 17:56:45 +0000 |
---|---|---|
committer | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 17:56:45 +0000 |
commit | e9798c1ed5c164beaf48e28012851bc6e68ba8c4 (patch) | |
tree | 8b764958b139346358ceb35d544194bc6d3ba55f /chrome/browser/chromeos/extensions/file_browser_notifications.h | |
parent | c95e53ad27f426eeee6d2c07abc0c566b599b5ad (diff) | |
download | chromium_src-e9798c1ed5c164beaf48e28012851bc6e68ba8c4.zip chromium_src-e9798c1ed5c164beaf48e28012851bc6e68ba8c4.tar.gz chromium_src-e9798c1ed5c164beaf48e28012851bc6e68ba8c4.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/chromeos/extensions/file_browser_notifications.h')
-rw-r--r-- | chrome/browser/chromeos/extensions/file_browser_notifications.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::string> hidden_notifications_; |