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

Unified Diff: chrome/browser/notifications/desktop_notification_service.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/notifications/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index 78e9b9e300764a2fb473b826cf0ae75121fd7398..5733d2756d8714d452b04eb69efd4b2f9ee2ccb1 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -268,6 +268,7 @@ void DesktopNotificationService::FirePermissionLevelChangedEvent(
args->Append(new base::StringValue(
extensions::api::notifications::ToString(permission)));
scoped_ptr<extensions::Event> event(new extensions::Event(
+ extensions::events::UNKNOWN,
extensions::api::notifications::OnPermissionLevelChanged::kEventName,
args.Pass()));
extensions::EventRouter::Get(profile_)
« no previous file with comments | « chrome/browser/extensions/permissions_updater.cc ('k') | chrome/browser/notifications/message_center_settings_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698