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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_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/hotword_private/hotword_private_api.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
index 7ea2b0b6e8b60fd7e1d22f97e41bd134d3cb07b3..66162645a4e418e9778d7cd2968ef4ad7fac819f 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
@@ -121,7 +121,7 @@ void HotwordPrivateEventService::SignalEvent(const std::string& event_name,
if (!router || !router->HasEventListener(event_name))
return;
- scoped_ptr<Event> event(new Event(event_name, args.Pass()));
+ scoped_ptr<Event> event(new Event(events::UNKNOWN, event_name, args.Pass()));
router->BroadcastEvent(event.Pass());
}
« no previous file with comments | « chrome/browser/extensions/api/history/history_api.cc ('k') | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698