Move mac notification metrics to //chrome/services

This allows us to reuse the metrics collection code from both
//chrome/browser and //chrome/services and removes a duplication for
getting the style suffix. Made the "Banner" and "Alert" suffixes
consistent by deprecating other versions that haven't been launched yet.

Bug: None
Change-Id: I8dc825285fcbdece3e624e2b9fed81e5f38b0025
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3143999
Reviewed-by: Rayan Kanso <[email protected]>
Commit-Queue: Richard Knoll <[email protected]>
Cr-Commit-Position: refs/heads/main@{#918759}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 0384805..0686ba01 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -5363,8 +5363,6 @@
       "notifications/notification_dispatcher_mojo.h",
       "notifications/notification_platform_bridge_mac.cc",
       "notifications/notification_platform_bridge_mac.h",
-      "notifications/notification_platform_bridge_mac_metrics.cc",
-      "notifications/notification_platform_bridge_mac_metrics.h",
       "notifications/notification_platform_bridge_mac_utils.cc",
       "notifications/notification_platform_bridge_mac_utils.h",
       "obsolete_system/obsolete_system_mac.cc",
@@ -5394,6 +5392,7 @@
       "//chrome/browser/apps/app_shim",
       "//chrome/browser/webshare:storage",
       "//chrome/services/mac_notifications",
+      "//chrome/services/mac_notifications/public/cpp",
       "//chrome/services/mac_notifications/public/mojom",
       "//components/crash/core/app",
       "//components/metal_util",