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

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

Issue 2748103011: Grant origins engagement for having interactions on their notifications. (Closed)
Patch Set: Created 3 years, 9 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/platform_notification_service_impl.h
diff --git a/chrome/browser/notifications/platform_notification_service_impl.h b/chrome/browser/notifications/platform_notification_service_impl.h
index 12c6e6181d4190459646c7b7af238fdfbf00576a..6372568d153f82a6579c1f9409eab53e8192aafe 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.h
+++ b/chrome/browser/notifications/platform_notification_service_impl.h
@@ -144,6 +144,9 @@ class PlatformNotificationServiceImpl
void SetNotificationDisplayServiceForTesting(
NotificationDisplayService* service);
+ void RecordSiteEngagement(content::BrowserContext* browser_context,
+ const GURL& origin);
+
#if BUILDFLAG(ENABLE_BACKGROUND)
// Makes sure we keep the browser alive while the event in being processed.
// As we have no control on the click handling, the notification could be

Powered by Google App Engine
This is Rietveld 408576698