Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sharing] Add WEB_RTC_NON_CELLULAR to upgrade mediums. #2899

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading