mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Rename share_target_info files to share_session.
PiperOrigin-RevId: 646204158
This commit is contained in:
committed by
Copybara-Service
parent
822e1af2a5
commit
4a8d97ff5e
+20
-20
@@ -168,20 +168,20 @@ cc_library(
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "share_target_info",
|
||||
name = "share_session",
|
||||
srcs = [
|
||||
"incoming_share_target_info.cc",
|
||||
"incoming_share_session.cc",
|
||||
"nearby_file_handler.cc",
|
||||
"outgoing_share_target_info.cc",
|
||||
"outgoing_share_session.cc",
|
||||
"payload_tracker.cc",
|
||||
"share_target_info.cc",
|
||||
"share_session.cc",
|
||||
],
|
||||
hdrs = [
|
||||
"incoming_share_target_info.h",
|
||||
"incoming_share_session.h",
|
||||
"nearby_file_handler.h",
|
||||
"outgoing_share_target_info.h",
|
||||
"outgoing_share_session.h",
|
||||
"payload_tracker.h",
|
||||
"share_target_info.h",
|
||||
"share_session.h",
|
||||
],
|
||||
deps = [
|
||||
":attachments",
|
||||
@@ -262,7 +262,7 @@ cc_library(
|
||||
":incoming_frame_reader",
|
||||
":nearby_sharing_decoder_impl",
|
||||
":paired_key_verification_runner",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
"//connections:core",
|
||||
@@ -502,7 +502,7 @@ cc_test(
|
||||
":attachments",
|
||||
":connection_types",
|
||||
":nearby_sharing_service",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":test_support",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
@@ -572,7 +572,7 @@ cc_test(
|
||||
name = "nearby_file_handler_test",
|
||||
srcs = ["nearby_file_handler_test.cc"],
|
||||
deps = [
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
"//internal/base:files",
|
||||
"//internal/platform/implementation/g3", # fixdeps: keep
|
||||
"@com_github_protobuf_matchers//protobuf-matchers",
|
||||
@@ -641,7 +641,7 @@ cc_test(
|
||||
deps = [
|
||||
":attachments",
|
||||
":connection_types",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
"//internal/platform/implementation/g3", # fixdeps: keep
|
||||
@@ -707,12 +707,12 @@ cc_test(
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "share_target_info_test",
|
||||
srcs = ["share_target_info_test.cc"],
|
||||
name = "share_session_test",
|
||||
srcs = ["share_session_test.cc"],
|
||||
deps = [
|
||||
":nearby_sharing_decoder_impl",
|
||||
":paired_key_verification_runner",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":test_support",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
@@ -751,12 +751,12 @@ cc_test(
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "outgoing_share_target_info_test",
|
||||
srcs = ["outgoing_share_target_info_test.cc"],
|
||||
name = "outgoing_share_session_test",
|
||||
srcs = ["outgoing_share_session_test.cc"],
|
||||
deps = [
|
||||
":attachments",
|
||||
":connection_types",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":test_support",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
@@ -771,13 +771,13 @@ cc_test(
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "incoming_share_target_info_test",
|
||||
srcs = ["incoming_share_target_info_test.cc"],
|
||||
name = "incoming_share_session_test",
|
||||
srcs = ["incoming_share_session_test.cc"],
|
||||
deps = [
|
||||
":attachment_compare",
|
||||
":attachments",
|
||||
":connection_types",
|
||||
":share_target_info",
|
||||
":share_session",
|
||||
":test_support",
|
||||
":transfer_metadata",
|
||||
":types",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/incoming_share_target_info.h"
|
||||
#include "sharing/incoming_share_session.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem> // NOLINT
|
||||
@@ -36,8 +36,8 @@
|
||||
#include "sharing/nearby_connections_types.h"
|
||||
#include "sharing/payload_tracker.h"
|
||||
#include "sharing/proto/wire_format.pb.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/text_attachment.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
#include "sharing/wifi_credentials_attachment.h"
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_TARGET_INFO_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_TARGET_INFO_H_
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_SESSION_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_SESSION_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem> // NOLINT
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "sharing/nearby_connections_manager.h"
|
||||
#include "sharing/proto/wire_format.pb.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
|
||||
namespace nearby::sharing {
|
||||
@@ -84,4 +84,4 @@ class IncomingShareTargetInfo : public ShareTargetInfo {
|
||||
|
||||
} // namespace nearby::sharing
|
||||
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_TARGET_INFO_H_
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_INCOMING_SHARE_SESSION_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/incoming_share_target_info.h"
|
||||
#include "sharing/incoming_share_session.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem> // NOLINT
|
||||
@@ -69,7 +69,7 @@
|
||||
#include "sharing/file_attachment.h"
|
||||
#include "sharing/flags/generated/nearby_sharing_feature_flags.h"
|
||||
#include "sharing/incoming_frames_reader.h"
|
||||
#include "sharing/incoming_share_target_info.h"
|
||||
#include "sharing/incoming_share_session.h"
|
||||
#include "sharing/internal/api/bluetooth_adapter.h"
|
||||
#include "sharing/internal/api/sharing_platform.h"
|
||||
#include "sharing/internal/api/sharing_rpc_notifier.h"
|
||||
@@ -90,15 +90,15 @@
|
||||
#include "sharing/nearby_sharing_service_extension.h"
|
||||
#include "sharing/nearby_sharing_settings.h"
|
||||
#include "sharing/nearby_sharing_util.h"
|
||||
#include "sharing/outgoing_share_target_info.h"
|
||||
#include "sharing/outgoing_share_session.h"
|
||||
#include "sharing/paired_key_verification_runner.h"
|
||||
#include "sharing/proto/encrypted_metadata.pb.h"
|
||||
#include "sharing/proto/enums.pb.h"
|
||||
#include "sharing/proto/wire_format.pb.h"
|
||||
#include "sharing/scheduling/nearby_share_scheduler_utils.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_discovered_callback.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
#include "sharing/transfer_metadata_builder.h"
|
||||
#include "sharing/transfer_update_callback.h"
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "sharing/common/nearby_share_enums.h"
|
||||
#include "sharing/common/nearby_share_profile_info_provider.h"
|
||||
#include "sharing/fast_initiation/nearby_fast_initiation.h"
|
||||
#include "sharing/incoming_share_target_info.h"
|
||||
#include "sharing/incoming_share_session.h"
|
||||
#include "sharing/internal/api/app_info.h"
|
||||
#include "sharing/internal/api/bluetooth_adapter.h"
|
||||
#include "sharing/internal/api/preference_manager.h"
|
||||
@@ -70,13 +70,13 @@
|
||||
#include "sharing/nearby_sharing_service.h"
|
||||
#include "sharing/nearby_sharing_service_extension.h"
|
||||
#include "sharing/nearby_sharing_settings.h"
|
||||
#include "sharing/outgoing_share_target_info.h"
|
||||
#include "sharing/outgoing_share_session.h"
|
||||
#include "sharing/paired_key_verification_runner.h"
|
||||
#include "sharing/proto/enums.pb.h"
|
||||
#include "sharing/proto/wire_format.pb.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_discovered_callback.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
#include "sharing/transfer_update_callback.h"
|
||||
#include "sharing/wrapped_share_target_discovered_callback.h"
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#include "sharing/fast_initiation/nearby_fast_initiation_impl.h"
|
||||
#include "sharing/file_attachment.h"
|
||||
#include "sharing/flags/generated/nearby_sharing_feature_flags.h"
|
||||
#include "sharing/incoming_share_target_info.h"
|
||||
#include "sharing/incoming_share_session.h"
|
||||
#include "sharing/internal/api/mock_app_info.h"
|
||||
#include "sharing/internal/api/mock_sharing_platform.h"
|
||||
#include "sharing/internal/api/preference_manager.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/outgoing_share_target_info.h"
|
||||
#include "sharing/outgoing_share_session.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
@@ -34,8 +34,8 @@
|
||||
#include "sharing/nearby_connections_types.h"
|
||||
#include "sharing/nearby_file_handler.h"
|
||||
#include "sharing/payload_tracker.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/text_attachment.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
#include "sharing/wifi_credentials_attachment.h"
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_TARGET_INFO_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_TARGET_INFO_H_
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_SESSION_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_SESSION_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem> // NOLINT
|
||||
@@ -28,8 +28,8 @@
|
||||
#include "sharing/nearby_connections_manager.h"
|
||||
#include "sharing/nearby_connections_types.h"
|
||||
#include "sharing/nearby_file_handler.h"
|
||||
#include "sharing/share_session.h"
|
||||
#include "sharing/share_target.h"
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/transfer_metadata.h"
|
||||
|
||||
namespace nearby::sharing {
|
||||
@@ -125,4 +125,4 @@ class OutgoingShareTargetInfo : public ShareTargetInfo {
|
||||
|
||||
} // namespace nearby::sharing
|
||||
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_TARGET_INFO_H_
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_OUTGOING_SHARE_SESSION_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/outgoing_share_target_info.h"
|
||||
#include "sharing/outgoing_share_session.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/share_session.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_INFO_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_INFO_H_
|
||||
#ifndef THIRD_PARTY_NEARBY_SHARING_SHARE_SESSION_H_
|
||||
#define THIRD_PARTY_NEARBY_SHARING_SHARE_SESSION_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
@@ -183,4 +183,4 @@ class ShareTargetInfo {
|
||||
|
||||
} // namespace nearby::sharing
|
||||
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_INFO_H_
|
||||
#endif // THIRD_PARTY_NEARBY_SHARING_SHARE_SESSION_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "sharing/share_target_info.h"
|
||||
#include "sharing/share_session.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
Reference in New Issue
Block a user