Roll forward to cl/338725629

Signed-off-by: hai007 <hais@google.com>
This commit is contained in:
hai007
2020-10-23 12:43:22 -07:00
parent 2155b3ddeb
commit d3b3d07805
29 changed files with 478 additions and 1562 deletions
+3
View File
@@ -215,6 +215,9 @@ class Core {
void InitiateBandwidthUpgrade(absl::string_view endpoint_id,
ResultCallback callback);
// Gets the local endpoint generated by Nearby Connections.
std::string GetLocalEndpointId() { return client_.GetLocalEndpointId(); }
private:
static constexpr absl::Duration kWaitForDisconnect = absl::Milliseconds(5000);