| Index: chrome/browser/extensions/api/notification_provider/notification_provider_api.cc
|
| diff --git a/chrome/browser/extensions/api/notification_provider/notification_provider_api.cc b/chrome/browser/extensions/api/notification_provider/notification_provider_api.cc
|
| index 901f02fc48cef6c10d46fa085c5203c10e26513c..c07bfc1847d34ab0cfb88f43b43b21535c98cbd0 100644
|
| --- a/chrome/browser/extensions/api/notification_provider/notification_provider_api.cc
|
| +++ b/chrome/browser/extensions/api/notification_provider/notification_provider_api.cc
|
| @@ -65,7 +65,8 @@ void NotificationProviderEventRouter::Create(
|
| sender_id, notification_id, options);
|
|
|
| scoped_ptr<Event> event(new Event(
|
| - api::notification_provider::OnCreated::kEventName, args.Pass()));
|
| + events::UNKNOWN, api::notification_provider::OnCreated::kEventName,
|
| + args.Pass()));
|
|
|
| EventRouter::Get(profile_)
|
| ->DispatchEventToExtension(notification_provider_id, event.Pass());
|
| @@ -81,7 +82,8 @@ void NotificationProviderEventRouter::Update(
|
| sender_id, notification_id, options);
|
|
|
| scoped_ptr<Event> event(new Event(
|
| - api::notification_provider::OnUpdated::kEventName, args.Pass()));
|
| + events::UNKNOWN, api::notification_provider::OnUpdated::kEventName,
|
| + args.Pass()));
|
|
|
| EventRouter::Get(profile_)
|
| ->DispatchEventToExtension(notification_provider_id, event.Pass());
|
| @@ -95,7 +97,8 @@ void NotificationProviderEventRouter::Clear(
|
| api::notification_provider::OnCleared::Create(sender_id, notification_id);
|
|
|
| scoped_ptr<Event> event(new Event(
|
| - api::notification_provider::OnCleared::kEventName, args.Pass()));
|
| + events::UNKNOWN, api::notification_provider::OnCleared::kEventName,
|
| + args.Pass()));
|
|
|
| EventRouter::Get(profile_)
|
| ->DispatchEventToExtension(notification_provider_id, event.Pass());
|
|
|