Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6138)

Unified Diff: chrome/browser/extensions/api/notifications/notifications_api.cc

Issue 1201063002: Set up the infrastructure for Extension event metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaaaaase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e5e6bf6cfaccfec160e9aac5de4021cea0c3ffc9..0cbde4162501b77f3781fedd9778e10962c9d6f8 100644
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc
@@ -184,7 +184,7 @@ class NotificationsApiDelegate : public NotificationDelegate {
if (!event_router_)
return;
- scoped_ptr<Event> event(new Event(name, args.Pass()));
+ scoped_ptr<Event> event(new Event(events::UNKNOWN, name, args.Pass()));
event->user_gesture = user_gesture;
event_router_->DispatchEventToExtension(extension_id_, event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698