[Nearby Connection] Move peer_id.* & webrtc_socket_wrapper.* up one directory.

PiperOrigin-RevId: 406011497
This commit is contained in:
suetfei
2021-10-27 16:47:51 -07:00
committed by Copybara-Service
parent f9bd4ca573
commit 94ef1b532b
23 changed files with 142 additions and 115 deletions
+5 -5
View File
@@ -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_) {