mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Add WEB_RTC_NON_CELLULAR enum
PiperOrigin-RevId: 679384625
This commit is contained in:
committed by
Copybara-Service
parent
53b09d452b
commit
0dd8d5c8eb
@@ -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)
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user