Add an abstract Notification class

This commit is contained in:
Cheng Zhao 2015-12-24 22:06:41 +08:00
parent 41084883cf
commit 9897f3aab0
5 changed files with 47 additions and 15 deletions

View file

@ -13,7 +13,7 @@ namespace brightray {
namespace {
void RemoveNotification(base::WeakPtr<CocoaNotification> notification) {
void RemoveNotification(base::WeakPtr<Notification> notification) {
if (notification)
notification->DismissNotification();
}