Skip to content

Commit

Permalink
Remove experiments_log.proto.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 626095230
  • Loading branch information
ftsui authored and copybara-github committed Apr 18, 2024
1 parent 540ebba commit dbb6550
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 322 deletions.
1 change: 0 additions & 1 deletion gen_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
COMPILED_PROTO_PATH="compiled_proto"

${PROTOC} --cpp_out=${COMPILED_PROTO_PATH} internal/proto/analytics/connections_log.proto
${PROTOC} --cpp_out=${COMPILED_PROTO_PATH} internal/proto/analytics/experiments_log.proto
${PROTOC} --cpp_out=${COMPILED_PROTO_PATH} internal/proto/analytics/fast_pair_log.proto
${PROTOC} --cpp_out=${COMPILED_PROTO_PATH} sharing/proto/analytics/nearby_sharing_log.proto
${PROTOC} --cpp_out=${COMPILED_PROTO_PATH} proto/fast_pair_enums.proto
Expand Down
1 change: 0 additions & 1 deletion internal/analytics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ cc_library(
],
deps = [
"//internal/proto/analytics:connections_log_cc_proto",
"//internal/proto/analytics:experiments_log_cc_proto",
"//internal/proto/analytics:fast_pair_log_cc_proto",
"//sharing/proto/analytics:sharing_log_cc_proto",
],
Expand Down
5 changes: 0 additions & 5 deletions internal/analytics/event_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#define NEARBY_ANALYTICS_EVENT_LOGGER_H_

#include "internal/proto/analytics/connections_log.pb.h"
#include "internal/proto/analytics/experiments_log.pb.h"
#include "internal/proto/analytics/fast_pair_log.pb.h"
#include "sharing/proto/analytics/nearby_sharing_log.pb.h"

Expand All @@ -36,10 +35,6 @@ class EventLogger {
const location::nearby::analytics::proto::ConnectionsLog& message) = 0;
virtual void Log(const sharing::analytics::proto::SharingLog& message) = 0;
virtual void Log(const nearby::proto::fastpair::FastPairLog& message) = 0;

// Configure experiment parameters used by this logger.
virtual void ConfigureExperiments(
const experiments::ExperimentsLog& message) = 0;
};

} // namespace analytics
Expand Down
3 changes: 0 additions & 3 deletions internal/analytics/mock_event_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class MockEventLogger : public ::nearby::analytics::EventLogger {
(override));
MOCK_METHOD(void, Log, (const nearby::proto::fastpair::FastPairLog& message),
(override));

MOCK_METHOD(void, ConfigureExperiments,
(const experiments::ExperimentsLog& message), (override));
};

} // namespace nearby::analytics
Expand Down
15 changes: 0 additions & 15 deletions internal/proto/analytics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,6 @@ cc_proto_library(
deps = [":connections_log_proto"],
)

proto_library(
name = "experiments_log_proto",
srcs = ["experiments_log.proto"],
)

cc_proto_library(
name = "experiments_log_cc_proto",
visibility = [
"//internal/analytics:__pkg__",
"//location/nearby/analytics/cpp/logging:__subpackages__",
"//location/nearby/cpp/experiments:__subpackages__",
],
deps = [":experiments_log_proto"],
)

cc_test(
name = "proto_analytics_test",
size = "small",
Expand Down
41 changes: 0 additions & 41 deletions internal/proto/analytics/experiments_log.proto

This file was deleted.

3 changes: 0 additions & 3 deletions sharing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ cc_library(
"nearby_file_handler.cc",
"nearby_share_profile_info_provider_impl.cc",
"nearby_sharing_decoder_impl.cc",
"nearby_sharing_event_logger.cc",
"nearby_sharing_service.cc",
"nearby_sharing_service_extension.cc",
"nearby_sharing_service_factory.cc",
Expand Down Expand Up @@ -137,7 +136,6 @@ cc_library(
"nearby_file_handler.h",
"nearby_share_profile_info_provider_impl.h",
"nearby_sharing_decoder_impl.h",
"nearby_sharing_event_logger.h",
"nearby_sharing_service.h",
"nearby_sharing_service_extension.h",
"nearby_sharing_service_factory.h",
Expand Down Expand Up @@ -297,7 +295,6 @@ cc_test(
"nearby_connections_types_test.cc",
"nearby_file_handler_test.cc",
"nearby_share_profile_info_provider_impl_test.cc",
"nearby_sharing_event_logger_test.cc",
"nearby_sharing_service_extension_test.cc",
"nearby_sharing_service_impl_test.cc",
"nearby_sharing_service_test.cc",
Expand Down
90 changes: 0 additions & 90 deletions sharing/nearby_sharing_event_logger.cc

This file was deleted.

49 changes: 0 additions & 49 deletions sharing/nearby_sharing_event_logger.h

This file was deleted.

101 changes: 0 additions & 101 deletions sharing/nearby_sharing_event_logger_test.cc

This file was deleted.

Loading

0 comments on commit dbb6550

Please sign in to comment.