diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index df4c70ed..ab631166 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -30,7 +30,7 @@ option objc_class_prefix = "GNSHP"; // in NearbyClearcutLogger (for android, or clearcut_event_logger as the // equivalence for Windows) for all events (may exclude settings), and // session_id for a pair of events (start and end of a session). -// Next id: 62 +// Next id: 63 enum EventType { UNKNOWN_EVENT_TYPE = 0; @@ -229,6 +229,9 @@ enum EventType { // The device is discovered by fast initialization FAST_INIT_DISCOVER_DEVICE = 61; + // Send desktop notification. + SEND_DESKTOP_NOTIFICATION = 62; + // LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode) } @@ -614,3 +617,17 @@ enum FastInitType { // Not notify the user. FAST_INIT_SILENT_TYPE = 2; } + +// LINT.IfChanged +/** The type of desktop notification event. */ +enum DesktopNotification { + DESKTOP_NOTIFICATION_UNKNOWN = 0; + DESKTOP_NOTIFICATION_CONNECTING = 1; + DESKTOP_NOTIFICATION_PROGRESS = 2; + DESKTOP_NOTIFICATION_ACCEPT = 3; + DESKTOP_NOTIFICATION_RECEIVED = 4; + DESKTOP_NOTIFICATION_ERROR = 5; +} +// LINT.ThenChange( +// //depot/google3/location/nearby/cpp/sharing/clients/dart/platform/lib/types/models.dart +// )