Move TachyonExpressSignallingMessenger into mediums/webrtc.

PiperOrigin-RevId: 919882997
This commit is contained in:
Francis Tsui
2026-05-22 15:19:17 -07:00
committed by Copybara-Service
parent c9c7e6ee57
commit b536c8da3a
9 changed files with 50 additions and 60 deletions
+1 -2
View File
@@ -61,8 +61,8 @@ objc_library(
"webrtc.h",
],
deps = [
"//connections/implementation/mediums/webrtc:tachyon_express_signaling_messenger",
"//internal/platform:logging",
"//internal/platform:tachyon_express_signaling_messenger",
"//internal/platform:types",
"//internal/platform/implementation:webrtc_platform",
"//internal/proto:tachyon_cc_proto",
@@ -130,7 +130,6 @@ objc_library(
"//internal/crypto_cros",
"//internal/platform:comm",
"//internal/platform:logging",
"//internal/platform:tachyon_express_signaling_messenger",
"//internal/platform:types",
"//internal/proto:tachyon_cc_proto",
"//internal/platform:base",
@@ -25,10 +25,10 @@
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "connections/implementation/mediums/webrtc/tachyon_express_signaling_messenger.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/crypto.h"
#include "internal/platform/logging.h"
#include "internal/platform/tachyon_express_signaling_messenger.h"
#include "internal/proto/tachyon.pb.h"
#include "internal/proto/tachyon_enums.proto.h"
#include "webrtc/api/create_modular_peer_connection_factory.h"
@@ -91,7 +91,8 @@ void WebRtcMedium::CreatePeerConnection(
std::unique_ptr<api::WebRtcSignalingMessenger> WebRtcMedium::GetSignalingMessenger(
absl::string_view self_id, const location::nearby::connections::LocationHint& location_hint) {
return std::make_unique<TachyonExpressSignalingMessenger>(self_id, location_hint);
return std::make_unique<
nearby::connections::mediums::TachyonExpressSignalingMessenger>(self_id, location_hint);
}
} // namespace nearby::apple
@@ -238,9 +238,9 @@ cc_library(
hdrs = ["webrtc.h"],
tags = ["windows"],
deps = [
"//connections/implementation/mediums/webrtc:tachyon_express_signaling_messenger",
"//internal/platform:logging",
"//internal/platform:tachyon_express_signaling_messenger",
"//internal/platform/implementation:comm",
"//internal/platform/implementation:webrtc_platform",
"//third_party/webrtc/files/stable/webrtc/api:create_modular_peer_connection_factory",
"//third_party/webrtc/files/stable/webrtc/api:peer_connection_interface",
"//third_party/webrtc/files/stable/webrtc/api:rtc_error",
@@ -22,9 +22,9 @@
#include <utility>
#include "absl/strings/string_view.h"
#include "connections/implementation/mediums/webrtc/tachyon_express_signaling_messenger.h"
#include "internal/platform/implementation/webrtc.h"
#include "internal/platform/logging.h"
#include "internal/platform/tachyon_express_signaling_messenger.h"
#include "webrtc/api/create_modular_peer_connection_factory.h"
#include "webrtc/api/peer_connection_interface.h"
#include "webrtc/api/rtc_error.h"
@@ -33,6 +33,8 @@
namespace nearby::windows {
using ::nearby::connections::mediums::TachyonExpressSignalingMessenger;
std::string WebRtcMedium::GetDefaultCountryCode() {
wchar_t systemGeoName[LOCALE_NAME_MAX_LENGTH];