Skip to content

Commit

Permalink
[Sharing] Add WEB_RTC_NON_CELLULAR to upgrade mediums.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 678650934
  • Loading branch information
hai007 authored and copybara-github committed Sep 26, 2024
1 parent dc35037 commit 3375ae5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions connections/implementation/fake_bwu_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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{});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions proto/connections_enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3375ae5

Please sign in to comment.