mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fully qualify ::location::nearby imports.
Find and replace exercise. Replace `using location::nearby` with `using ::location::nearby` and `using <Name> = location::nearby` with `using <Name> = ::location::nearby` PiperOrigin-RevId: 490087051
This commit is contained in:
committed by
Copybara-Service
parent
39d3ef1a7c
commit
a3b6058753
@@ -28,7 +28,7 @@ namespace location {
|
||||
namespace nearby {
|
||||
namespace analytics {
|
||||
|
||||
using Medium = location::nearby::proto::connections::Medium;
|
||||
using Medium = ::location::nearby::proto::connections::Medium;
|
||||
using PayloadType = connections::PayloadType;
|
||||
|
||||
class ThroughputRecorder {
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace {
|
||||
// pure virtual functions in order to test BaseBwuHandler's bookkeeping logic.
|
||||
class BwuHandlerImpl : public BaseBwuHandler {
|
||||
public:
|
||||
using Medium = location::nearby::proto::connections::Medium;
|
||||
using Medium = ::location::nearby::proto::connections::Medium;
|
||||
|
||||
// The arguments passed to the BwuHandler methods. Not all values are set
|
||||
// for every method.
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace connections {
|
||||
// HandleInitializeUpgradedMediumForEndpoint call.
|
||||
class FakeBwuHandler : public BaseBwuHandler {
|
||||
public:
|
||||
using Medium = location::nearby::proto::connections::Medium;
|
||||
using Medium = ::location::nearby::proto::connections::Medium;
|
||||
|
||||
// The arguments passed to the BwuHandler methods. Not all values are set for
|
||||
// every method.
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace connections {
|
||||
// output can be set.
|
||||
class FakeEndpointChannel : public EndpointChannel {
|
||||
public:
|
||||
using Medium = location::nearby::proto::connections::Medium;
|
||||
using Medium = ::location::nearby::proto::connections::Medium;
|
||||
|
||||
FakeEndpointChannel(Medium medium, const std::string& service_id)
|
||||
: medium_(medium), service_id_(service_id) {}
|
||||
|
||||
@@ -292,8 +292,8 @@ class IncomingFileInternalPayload : public InternalPayload {
|
||||
|
||||
} // namespace
|
||||
|
||||
using location::nearby::api::ImplementationPlatform;
|
||||
using location::nearby::api::OSName;
|
||||
using ::location::nearby::api::ImplementationPlatform;
|
||||
using ::location::nearby::api::OSName;
|
||||
|
||||
std::unique_ptr<InternalPayload> CreateOutgoingInternalPayload(
|
||||
Payload payload) {
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace nearby {
|
||||
namespace connections {
|
||||
namespace mediums {
|
||||
namespace webrtc_frames {
|
||||
using WebRtcSignalingFrame = location::nearby::mediums::WebRtcSignalingFrame;
|
||||
using WebRtcSignalingFrame = ::location::nearby::mediums::WebRtcSignalingFrame;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ using WifiAwareCredentials = UpgradePathInfo::WifiAwareCredentials;
|
||||
using WifiDirectCredentials = UpgradePathInfo::WifiDirectCredentials;
|
||||
using BluetoothCredentials = UpgradePathInfo::BluetoothCredentials;
|
||||
using WebRtcCredentials = UpgradePathInfo::WebRtcCredentials;
|
||||
using Medium = location::nearby::connections::Medium;
|
||||
using Medium = ::location::nearby::connections::Medium;
|
||||
|
||||
constexpr absl::string_view kIpv4PatternString{
|
||||
"^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\."
|
||||
|
||||
Reference in New Issue
Block a user