From 60d5fe440ea53d876c2d5e5d5e6aee4a8438eee7 Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Fri, 14 Feb 2025 13:44:56 -0800 Subject: [PATCH] internal analytics PiperOrigin-RevId: 727050454 --- proto/sharing_enums.proto | 5 ++++- sharing/proto/analytics/nearby_sharing_log.proto | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index ffb48835..dfb10c1f 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -32,7 +32,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: 73 +// Next id: 74 enum EventType { UNKNOWN_EVENT_TYPE = 0; @@ -313,6 +313,9 @@ enum EventType { // A HaTS survey session id has been joined with Quick Share flow id. HATS_JOINT_EVENT = 72; + // Previews received. + RECEIVE_PREVIEWS = 73; + // LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode) } diff --git a/sharing/proto/analytics/nearby_sharing_log.proto b/sharing/proto/analytics/nearby_sharing_log.proto index 7672571f..23fd0c90 100644 --- a/sharing/proto/analytics/nearby_sharing_log.proto +++ b/sharing/proto/analytics/nearby_sharing_log.proto @@ -31,7 +31,7 @@ option objc_class_prefix = "GNCP"; // Top-level log proto for all NearbySharing logging. // Each log contains a key (event_type), value (a verb-noun event) pair. -// Next Tag: 82 +// Next Tag: 83 // LINT.IfChange message SharingLog { /* collection_basis = { @@ -220,6 +220,8 @@ message SharingLog { optional HatsJointEvent hats_joint_event = 81; + optional ReceivePreviews receive_previews = 82; + // Used only for Nearby Share Windows app now. message AppInfo { // e.g. "1.0.408" @@ -962,5 +964,10 @@ message SharingLog { optional string hats_session_id = 2 /* type = ST_SESSION_ID */; } + + // EventType: RECEIVE_PREVIEWS + message ReceivePreviews { + optional int32 num_previews = 1; + } } // LINT.ThenChange(//depot/google3/logs/proto/location/nearby/nearby_client_log.proto)