Roll forward to cl/328359974

Change-Id: If2b57ecc852aecf7dea454648f485fd7c08e72a9
This commit is contained in:
Alexey Polyudov
2020-08-25 11:27:27 -07:00
parent 6f9228fa6b
commit c673bf6ac0
110 changed files with 4758 additions and 1245 deletions
+6 -5
View File
@@ -4,6 +4,7 @@
#include <string>
#include "core_v2/listeners.h"
#include "platform_v2/base/byte_array.h"
namespace location {
namespace nearby {
@@ -12,11 +13,11 @@ namespace connections {
// Used by Discovery in Core::RequestConnection().
// Used by Advertising in Core::StartAdvertising().
struct ConnectionRequestInfo {
// name - A human readable name for this endpoint, to appear on
// other devices.
// listener - A set of callbacks notified when remote endpoints request a
// connection to this endpoint.
std::string name;
// endpoint_info - Identifing information about this endpoint (eg. name,
// device type).
// listener - A set of callbacks notified when remote endpoints request a
// connection to this endpoint.
ByteArray endpoint_info;
ConnectionListener listener;
};