mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Roll forward up to cl/353292511.
This commit is contained in:
@@ -18,7 +18,6 @@ namespace location {
|
||||
namespace nearby {
|
||||
namespace connections {
|
||||
|
||||
using ::location::nearby::proto::connections::ConnectionAttemptResult;
|
||||
using ::location::nearby::proto::connections::DisconnectionReason;
|
||||
|
||||
// Required for C++ 14 support in Chrome
|
||||
@@ -377,13 +376,6 @@ void BwuManager::ProcessBwuPathAvailableEvent(
|
||||
|
||||
auto channel = ProcessBwuPathAvailableEventInternal(client, endpoint_id,
|
||||
upgrade_path_info);
|
||||
ConnectionAttemptResult connectionAttemptResult;
|
||||
if (channel != nullptr) {
|
||||
connectionAttemptResult = ConnectionAttemptResult::RESULT_SUCCESS;
|
||||
} else {
|
||||
connectionAttemptResult = ConnectionAttemptResult::RESULT_ERROR;
|
||||
}
|
||||
|
||||
if (channel == nullptr) {
|
||||
RunUpgradeFailedProtocol(client, endpoint_id, upgrade_path_info);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user