From 12d03e75d348aa26c34abb3edb704d0ac7821ff4 Mon Sep 17 00:00:00 2001 From: Will Harmon Date: Mon, 13 May 2024 11:54:13 -0700 Subject: [PATCH] Shrink the QR code PiperOrigin-RevId: 633285268 --- sharing/nearby_sharing_service_extension.h | 5 ++--- sharing/nearby_sharing_service_extension_test.cc | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sharing/nearby_sharing_service_extension.h b/sharing/nearby_sharing_service_extension.h index 9f4af66c..cf1fdf30 100644 --- a/sharing/nearby_sharing_service_extension.h +++ b/sharing/nearby_sharing_service_extension.h @@ -51,9 +51,8 @@ class NearbySharingServiceExtension { Context* context_ = nullptr; NearbyShareSettings* settings_ = nullptr; - // The qr code url for the current session containing Advertising token, - // Connection token and Sender Public Key. - std::string qr_code_url_ = "http://near.by/launch_by_qrcode"; + // The qr code url for the current session containing the Sender Public Key. + std::string qr_code_url_ = "https://near.by/qrcode"; }; } // namespace sharing diff --git a/sharing/nearby_sharing_service_extension_test.cc b/sharing/nearby_sharing_service_extension_test.cc index b08d0a6c..fa0681fc 100644 --- a/sharing/nearby_sharing_service_extension_test.cc +++ b/sharing/nearby_sharing_service_extension_test.cc @@ -184,8 +184,7 @@ TEST_F(NearbySharingServiceExtensionTest, } TEST_F(NearbySharingServiceExtensionTest, GetQrCodeUrl) { - EXPECT_EQ(service_extension()->GetQrCodeUrl(), - "http://near.by/launch_by_qrcode"); + EXPECT_EQ(service_extension()->GetQrCodeUrl(), "https://near.by/qrcode"); } } // namespace