Notification: pass tag to Show method

This commit is contained in:
Marco Trevisan (Treviño) 2016-04-13 05:31:56 +02:00
parent 11685faffa
commit 59ed6ad413
8 changed files with 8 additions and 1 deletions

View file

@ -37,7 +37,7 @@ void OnWebNotificationAllowed(
auto notification = presenter->CreateNotification(adapter.get());
if (notification) {
ignore_result(adapter.release()); // it will release itself automatically.
notification->Show(data.title, data.body, data.icon, icon, data.silent);
notification->Show(data.title, data.body, data.tag, data.icon, icon, data.silent);
*cancel_callback = base::Bind(&RemoveNotification, notification);
}
}