mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
[Nearby Connection] Move peer_id.* & webrtc_socket_wrapper.* up one directory.
PiperOrigin-RevId: 406011497
This commit is contained in:
committed by
Copybara-Service
parent
f9bd4ca573
commit
94ef1b532b
@@ -215,11 +215,11 @@ class BasePcpHandler : public PcpHandler,
|
||||
};
|
||||
|
||||
struct WebRtcEndpoint : public DiscoveredEndpoint {
|
||||
WebRtcEndpoint(DiscoveredEndpoint endpoint, mediums::PeerId peer_id)
|
||||
WebRtcEndpoint(DiscoveredEndpoint endpoint, mediums::WebrtcPeerId peer_id)
|
||||
: DiscoveredEndpoint(std::move(endpoint)),
|
||||
peer_id(std::move(peer_id)) {}
|
||||
|
||||
mediums::PeerId peer_id;
|
||||
mediums::WebrtcPeerId peer_id;
|
||||
};
|
||||
|
||||
struct ConnectImplResult {
|
||||
@@ -296,9 +296,9 @@ class BasePcpHandler : public PcpHandler,
|
||||
std::vector<BasePcpHandler::DiscoveredEndpoint*> GetDiscoveredEndpoints(
|
||||
const proto::connections::Medium medium);
|
||||
|
||||
mediums::PeerId CreatePeerIdFromAdvertisement(const string& service_id,
|
||||
const string& endpoint_id,
|
||||
const ByteArray& endpoint_info);
|
||||
mediums::WebrtcPeerId CreatePeerIdFromAdvertisement(
|
||||
const string& service_id, const string& endpoint_id,
|
||||
const ByteArray& endpoint_info);
|
||||
|
||||
SingleThreadExecutor* GetPcpHandlerThread()
|
||||
ABSL_LOCK_RETURNED(serial_executor_) {
|
||||
|
||||
Reference in New Issue
Block a user