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

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

Issue 2300093002: Make //content responsible for generating notification Ids (Closed)
Patch Set: comments Created 4 years, 3 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 a3190338c966f3d112d581b6b1343b38844ec78d..005e7c8a10c251a58af42ef7a5d9510c2ded3d94 100644
--- a/content/browser/notifications/notification_database_data.proto
+++ b/content/browser/notifications/notification_database_data.proto
@@ -11,9 +11,12 @@ package content;
// Stores information about a Web Notification. This message is the protocol
// buffer meant to serialize the content::NotificationDatabaseData structure.
//
-// Next tag: 5
+// Next tag: 6
message NotificationDatabaseDataProto {
- optional int64 notification_id = 1;
+ // DEPRECATED: Use |notification_id| instead.
+ optional int64 persistent_notification_id = 1;
+
+ optional string notification_id = 5;
optional string origin = 2;
optional int64 service_worker_registration_id = 3;

Powered by Google App Engine
This is Rietveld 408576698