Add WEB_RTC_NON_CELLULAR enum

PiperOrigin-RevId: 679384625
This commit is contained in:
Johnson Lu
2024-09-26 19:28:23 -07:00
committed by Copybara-Service
parent 53b09d452b
commit 0dd8d5c8eb
3 changed files with 5 additions and 0 deletions
@@ -137,6 +137,7 @@ class FakeBwuHandler : public BaseBwuHandler {
return parser::ForBwuWifiLanPathAvailable(/*ip_address=*/"ABCD",
/*port=*/1234);
case location::nearby::proto::connections::WEB_RTC:
case location::nearby::proto::connections::WEB_RTC_NON_CELLULAR:
return parser::ForBwuWebrtcPathAvailable(
/*peer_id=*/"peer-id",
location::nearby::connections::LocationHint{});
@@ -84,6 +84,7 @@ message ConnectionRequestFrame {
WEB_RTC = 9;
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
}
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
@@ -237,6 +238,7 @@ message BandwidthUpgradeNegotiationFrame {
WEB_RTC = 9;
// 10 is reserved.
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
}
// Accompanies Medium.WIFI_HOTSPOT.
@@ -346,6 +348,7 @@ message BandwidthUpgradeRetryFrame {
WEB_RTC = 9;
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
}
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
+1
View File
@@ -89,6 +89,7 @@ enum Medium {
WEB_RTC = 9;
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
}
// LINT.ThenChange(
// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java,