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

Unified Diff: content/browser/notifications/notification_database_data.proto

Issue 1313363006: Plumb requireInteraction to PlatformNotificationData & database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@constructor
Patch Set: Fix includes Created 5 years, 4 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: content/browser/notifications/notification_database_data.proto
diff --git a/content/browser/notifications/notification_database_data.proto b/content/browser/notifications/notification_database_data.proto
index a634456860f6eb91938279286256fbff2d64e607..3047d2b4356e28c5b79410ad156eb755fd97687b 100644
--- a/content/browser/notifications/notification_database_data.proto
+++ b/content/browser/notifications/notification_database_data.proto
@@ -29,7 +29,7 @@ message NotificationDatabaseDataProto {
// Actual data payload of the notification. This message is the protocol
// buffer meant to serialize the content::PlatformNotificationData structure.
//
- // Next tag: 11
+ // Next tag: 12
message NotificationData {
enum Direction {
LEFT_TO_RIGHT = 0;
@@ -45,6 +45,7 @@ message NotificationDatabaseDataProto {
optional string icon = 6;
repeated int32 vibration_pattern = 9 [packed=true];
optional bool silent = 7;
+ optional bool require_interaction = 11;
optional bytes data = 8;
repeated NotificationAction actions = 10;
}

Powered by Google App Engine
This is Rietveld 408576698