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

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

Issue 1855443002: Implement receiving side of web notification inline replies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test and removed unnecessary code. Created 4 years, 8 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 | content/browser/notifications/notification_database_data_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7044ed2f5c17d1e5581ab739976fcb227b11d3ca..aad02a8cf2a5e6df6dfab81aa328c24e4e4afc26 100644
--- a/content/browser/notifications/notification_database_data.proto
+++ b/content/browser/notifications/notification_database_data.proto
@@ -20,11 +20,19 @@ message NotificationDatabaseDataProto {
// A notification action, corresponds to content::PlatformNotificationAction.
//
- // Next tag: 4
+ // Next tag: 6
message NotificationAction {
+ // Corresponds to PlatformNotificationActionType.
+ enum Type {
+ BUTTON = 0;
+ TEXT = 1;
+ }
+
optional string action = 1;
optional string title = 2;
optional string icon = 3;
+ optional Type type = 4;
+ optional string placeholder = 5;
}
// Actual data payload of the notification. This message is the protocol
« no previous file with comments | « no previous file | content/browser/notifications/notification_database_data_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698