Index: chrome/browser/extensions/api/notifications/notifications_api.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc |
index bee35d557c3efca0dd50d5806dde7930f384498c..5946f3839f0a315d5944f474fea89dcdd1ee3bfe 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc |
@@ -153,7 +153,8 @@ void NotificationsApiFunction::CreateNotification( |
id)); // ownership is passed to Notification |
Notification notification(type, extension_->url(), icon_url, title, message, |
WebKit::WebTextDirectionDefault, |
- string16(), UTF8ToUTF16(api_delegate->id()), |
+ UTF8ToUTF16(extension_->name()), |
+ UTF8ToUTF16(api_delegate->id()), |
optional_fields.get(), api_delegate); |
g_browser_process->notification_ui_manager()->Add(notification, profile()); |
@@ -234,7 +235,8 @@ void NotificationsApiFunction::CreateNotification( |
id)); // ownership is passed to Notification |
Notification notification(type, extension_->url(), icon_url, title, message, |
WebKit::WebTextDirectionDefault, |
- string16(), UTF8ToUTF16(api_delegate->id()), |
+ UTF8ToUTF16(extension_->name()), |
+ UTF8ToUTF16(api_delegate->id()), |
optional_fields.get(), api_delegate); |
g_browser_process->notification_ui_manager()->Add(notification, profile()); |