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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java

Issue 2841193002: Implement privacy disclosure for an unbound webapk. (Closed)
Patch Set: nit Created 3 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
Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java
index 06b8dbbbf048c4743e541d7051b0a272d2c2b12c..f74a3eb7612d936305d1bc6fefdf1b7e8b819032 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java
@@ -30,7 +30,7 @@ public class NotificationUmaTracker {
private static final String TAG = "NotifsUMATracker";
@Retention(RetentionPolicy.SOURCE)
@IntDef({DOWNLOAD_FILES, DOWNLOAD_PAGES, CLOSE_INCOGNITO, CONTENT_SUGGESTION, MEDIA_CAPTURE,
- PHYSICAL_WEB, MEDIA, SITES, SYNC, SYSTEM_NOTIFICATION_TYPE_BOUNDARY})
+ PHYSICAL_WEB, MEDIA, SITES, SYNC, WEBAPK, SYSTEM_NOTIFICATION_TYPE_BOUNDARY})
public @interface SystemNotificationType {}
/*
@@ -52,8 +52,9 @@ public class NotificationUmaTracker {
public static final int MEDIA = 6;
public static final int SITES = 7;
public static final int SYNC = 8;
+ public static final int WEBAPK = 9;
- private static final int SYSTEM_NOTIFICATION_TYPE_BOUNDARY = 9;
+ private static final int SYSTEM_NOTIFICATION_TYPE_BOUNDARY = 10;
private static final String LAST_SHOWN_NOTIFICATION_TYPE_KEY =
"NotificationUmaTracker.LastShownNotificationType";

Powered by Google App Engine
This is Rietveld 408576698