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

Unified Diff: chrome/browser/extensions/api/system_indicator/system_indicator_manager.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/system_indicator/system_indicator_manager.cc
diff --git a/chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc b/chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc
index 3f5186acafa3f6f5ac0e462085ed74418add8db6..35d6afd70c7144650ecc70edb5f26d53b9bef306 100644
--- a/chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc
+++ b/chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc
@@ -82,10 +82,9 @@ void ExtensionIndicatorIcon::OnStatusIconClicked() {
api::system_indicator::OnClicked::Create());
EventRouter* event_router = EventRouter::Get(profile_);
- scoped_ptr<Event> event(new Event(
- system_indicator::OnClicked::kEventName,
- params.Pass(),
- profile_));
+ scoped_ptr<Event> event(new Event(events::UNKNOWN,
+ system_indicator::OnClicked::kEventName,
+ params.Pass(), profile_));
event_router->DispatchEventToExtension(
extension_->id(), event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698