From 3084cb79e9e03069d80726e17f59fd129676a1a2 Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Sat, 31 May 2025 07:20:02 -0700 Subject: [PATCH] Add 'WEB_RTC_NON_CELLULAR' to nc_types.h PiperOrigin-RevId: 765577066 --- connections/c/nc_types.h | 5 +++-- proto/connections_enums.proto | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/connections/c/nc_types.h b/connections/c/nc_types.h index 1984f7d9..03b3e201 100644 --- a/connections/c/nc_types.h +++ b/connections/c/nc_types.h @@ -51,8 +51,9 @@ typedef enum NC_MEDIUM { NC_MEDIUM_WEB_RTC = 9, NC_MEDIUM_BLE_L2CAP = 10, NC_MEDIUM_USB = 11, - NC_MEDIUM_AWDL = 12, - NC_MEDIUM_MAX = 13 + NC_MEDIUM_WEB_RTC_NON_CELLULAR = 12, + NC_MEDIUM_AWDL = 13, + NC_MEDIUM_MAX = 14 } NC_MEDIUM; typedef enum NC_CONNECTION_TYPE { diff --git a/proto/connections_enums.proto b/proto/connections_enums.proto index a4e88666..3eb116cd 100644 --- a/proto/connections_enums.proto +++ b/proto/connections_enums.proto @@ -96,7 +96,8 @@ enum Medium { // //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java, // //depot/google3/java/com/google/android/gms/nearby/internal/connection/api.proto, // //depot/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto, -// //depot/google3/wireless/android/stats/platform/westworld/public/protos/enums/android/nearby/connections/enums.proto +// //depot/google3/wireless/android/stats/platform/westworld/public/protos/enums/android/nearby/connections/enums.proto, +// //depot/google3/third_party/nearby/connections/c/nc_types.h // ) // The medium technologies used during the sharing.