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

Unified Diff: chrome/browser/extensions/api/settings_private/settings_private_event_router.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/settings_private/settings_private_event_router.cc
diff --git a/chrome/browser/extensions/api/settings_private/settings_private_event_router.cc b/chrome/browser/extensions/api/settings_private/settings_private_event_router.cc
index 96ed2349511aeb778f40690974fde678972cfc21..153dd3fce59c36e87729e6840a47e5cf208d40cf 100644
--- a/chrome/browser/extensions/api/settings_private/settings_private_event_router.cc
+++ b/chrome/browser/extensions/api/settings_private/settings_private_event_router.cc
@@ -139,7 +139,8 @@ void SettingsPrivateEventRouter::OnPreferenceChanged(
api::settings_private::OnPrefsChanged::Create(prefs));
scoped_ptr<Event> extension_event(new Event(
- api::settings_private::OnPrefsChanged::kEventName, args.Pass()));
+ events::UNKNOWN, api::settings_private::OnPrefsChanged::kEventName,
+ args.Pass()));
event_router->BroadcastEvent(extension_event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698