Skip to content

Commit 60d5fe4

Browse files
anayw2001copybara-github
authored andcommitted
internal analytics
PiperOrigin-RevId: 727050454
1 parent 5001b9f commit 60d5fe4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

proto/sharing_enums.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ option objc_class_prefix = "GNSHP";
3232
// in NearbyClearcutLogger (for android, or clearcut_event_logger as the
3333
// equivalence for Windows) for all events (may exclude settings), and
3434
// session_id for a pair of events (start and end of a session).
35-
// Next id: 73
35+
// Next id: 74
3636
enum EventType {
3737
UNKNOWN_EVENT_TYPE = 0;
3838

@@ -313,6 +313,9 @@ enum EventType {
313313
// A HaTS survey session id has been joined with Quick Share flow id.
314314
HATS_JOINT_EVENT = 72;
315315

316+
// Previews received.
317+
RECEIVE_PREVIEWS = 73;
318+
316319
// LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode)
317320
}
318321

sharing/proto/analytics/nearby_sharing_log.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ option objc_class_prefix = "GNCP";
3131

3232
// Top-level log proto for all NearbySharing logging.
3333
// Each log contains a key (event_type), value (a verb-noun event) pair.
34-
// Next Tag: 82
34+
// Next Tag: 83
3535
// LINT.IfChange
3636
message SharingLog {
3737
/* collection_basis = {
@@ -220,6 +220,8 @@ message SharingLog {
220220

221221
optional HatsJointEvent hats_joint_event = 81;
222222

223+
optional ReceivePreviews receive_previews = 82;
224+
223225
// Used only for Nearby Share Windows app now.
224226
message AppInfo {
225227
// e.g. "1.0.408"
@@ -962,5 +964,10 @@ message SharingLog {
962964
optional string hats_session_id = 2
963965
/* type = ST_SESSION_ID */;
964966
}
967+
968+
// EventType: RECEIVE_PREVIEWS
969+
message ReceivePreviews {
970+
optional int32 num_previews = 1;
971+
}
965972
}
966973
// LINT.ThenChange(//depot/google3/logs/proto/location/nearby/nearby_client_log.proto)

0 commit comments

Comments
 (0)