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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

Issue 1161983002: Follow up for issue 490583 for changing histogram name and enum name for notification.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving build issues. Created 5 years, 7 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
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index 088856aef8cac7dfccdc3131a51c16863d75fc1c..be6db4c970444e312fc2fded2c7fd7479c78499d 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -53,18 +53,16 @@ namespace {
// Callback to provide when deleting the data associated with persistent Web
// Notifications from the notification database.
void OnPersistentNotificationDataDeleted(bool success) {
- UMA_HISTOGRAM_BOOLEAN(
- "ServiceWorker.PlatformNotificationService."
- "PersistentNotificationDataDeleted", success);
+ UMA_HISTOGRAM_BOOLEAN("Notifications.PersistentNotificationDataDeleted",
+ success);
}
// Persistent notifications fired through the delegate do not care about the
// lifetime of the Service Worker responsible for executing the event.
void OnEventDispatchComplete(content::PersistentNotificationStatus status) {
UMA_HISTOGRAM_ENUMERATION(
- "ServiceWorker.PlatformNotificationService."
- "PersistentWebNotificationClickResult",
- status, content::PersistentNotificationStatus::
+ "Notifications.PersistentWebNotificationClickResult", status,
+ content::PersistentNotificationStatus::
PERSISTENT_NOTIFICATION_STATUS_MAX);
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698