Use AppUserModelID as app id

This commit is contained in:
Cheng Zhao 2015-11-20 13:28:37 +08:00
parent 8db246d770
commit aa8d164036
3 changed files with 19 additions and 6 deletions

View file

@ -42,8 +42,7 @@ void NotificationPresenterWin::ShowNotification(
scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) {
// This class manages itself.
auto notification = new WindowsToastNotification(
GetApplicationName(), delegate.Pass());
auto notification = new WindowsToastNotification(delegate.Pass());
notification->ShowNotification(data.title, data.body, data.icon.spec());
if (cancel_callback) {