Use AppUserModelID as app id
This commit is contained in:
parent
8db246d770
commit
aa8d164036
3 changed files with 19 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue