From 17f29611235d6d83bc4b6fc7cef7931e436afb31 Mon Sep 17 00:00:00 2001 From: Tanvi Jagtap <139093547+tanvi-jagtap@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:14:43 -0700 Subject: [PATCH] [Gpr_To_Absl_Logging] Remove logging header from misc folders (#37493) [Gpr_To_Absl_Logging] Remove logging header from misc folders Closes #37493 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37493 from tanvi-jagtap:remove_header_src_core_transp 9a774d939b1d5bd4e5d6c28429936b273d476b6e PiperOrigin-RevId: 663599059 --- src/core/ext/transport/chaotic_good/frame.cc | 1 - src/core/ext/transport/chaotic_good/frame_header.cc | 1 - src/core/ext/transport/chttp2/alpn/alpn.cc | 1 - src/core/ext/transport/chttp2/transport/bin_encoder.cc | 1 - src/core/ext/transport/chttp2/transport/frame.cc | 1 - src/core/ext/transport/chttp2/transport/frame_data.cc | 1 - src/core/ext/transport/chttp2/transport/frame_goaway.cc | 1 - src/core/ext/transport/chttp2/transport/frame_window_update.cc | 1 - src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc | 1 - src/core/ext/transport/chttp2/transport/ping_callbacks.cc | 1 - src/core/ext/transport/chttp2/transport/write_size_policy.cc | 1 - src/core/ext/transport/cronet/transport/cronet_api_phony.cc | 1 - src/core/lib/transport/promise_endpoint.cc | 1 - src/core/lib/transport/timeout_encoding.cc | 1 - src/core/lib/transport/transport_op_string.cc | 1 - src/core/xds/grpc/xds_transport_grpc.cc | 1 - src/cpp/client/channel_cc.cc | 1 - src/cpp/client/client_context.cc | 1 - src/cpp/client/xds_credentials.cc | 1 - src/cpp/common/alarm.cc | 1 - src/cpp/common/channel_arguments.cc | 1 - src/cpp/common/tls_certificate_provider.cc | 1 - src/cpp/common/tls_certificate_verifier.cc | 1 - src/cpp/common/tls_credentials_options.cc | 1 - src/cpp/ext/filters/census/client_filter.cc | 1 - src/cpp/ext/otel/otel_client_call_tracer.cc | 1 - src/cpp/server/backend_metric_recorder.cc | 1 - src/cpp/server/insecure_server_credentials.cc | 1 - src/cpp/server/orca/orca_service.cc | 1 - src/cpp/server/xds_server_credentials.cc | 1 - src/objective-c/GRPCClient/private/GRPCCore/GRPCChannel.mm | 2 -- src/objective-c/GRPCClient/private/GRPCCore/GRPCChannelPool.mm | 2 -- 32 files changed, 34 deletions(-) diff --git a/src/core/ext/transport/chaotic_good/frame.cc b/src/core/ext/transport/chaotic_good/frame.cc index 4a165e9aa89..243d8ef4ca2 100644 --- a/src/core/ext/transport/chaotic_good/frame.cc +++ b/src/core/ext/transport/chaotic_good/frame.cc @@ -25,7 +25,6 @@ #include "absl/status/statusor.h" #include -#include #include #include "src/core/ext/transport/chaotic_good/frame_header.h" diff --git a/src/core/ext/transport/chaotic_good/frame_header.cc b/src/core/ext/transport/chaotic_good/frame_header.cc index b4c27074ce1..903e4646419 100644 --- a/src/core/ext/transport/chaotic_good/frame_header.cc +++ b/src/core/ext/transport/chaotic_good/frame_header.cc @@ -19,7 +19,6 @@ #include "absl/status/status.h" #include "absl/strings/str_cat.h" -#include #include namespace grpc_core { diff --git a/src/core/ext/transport/chttp2/alpn/alpn.cc b/src/core/ext/transport/chttp2/alpn/alpn.cc index cb9c2d6e34d..75f17402335 100644 --- a/src/core/ext/transport/chttp2/alpn/alpn.cc +++ b/src/core/ext/transport/chttp2/alpn/alpn.cc @@ -20,7 +20,6 @@ #include "absl/log/check.h" -#include #include #include "src/core/util/useful.h" diff --git a/src/core/ext/transport/chttp2/transport/bin_encoder.cc b/src/core/ext/transport/chttp2/transport/bin_encoder.cc index cf024f03d49..4063d1d5491 100644 --- a/src/core/ext/transport/chttp2/transport/bin_encoder.cc +++ b/src/core/ext/transport/chttp2/transport/bin_encoder.cc @@ -23,7 +23,6 @@ #include "absl/log/check.h" -#include #include #include "src/core/ext/transport/chttp2/transport/huffsyms.h" diff --git a/src/core/ext/transport/chttp2/transport/frame.cc b/src/core/ext/transport/chttp2/transport/frame.cc index 9e05cf6d854..92788903f15 100644 --- a/src/core/ext/transport/chttp2/transport/frame.cc +++ b/src/core/ext/transport/chttp2/transport/frame.cc @@ -23,7 +23,6 @@ #include "absl/status/status.h" #include "absl/strings/str_cat.h" -#include #include #include "src/core/lib/gprpp/crash.h" diff --git a/src/core/ext/transport/chttp2/transport/frame_data.cc b/src/core/ext/transport/chttp2/transport/frame_data.cc index e16965c4478..77739c30883 100644 --- a/src/core/ext/transport/chttp2/transport/frame_data.cc +++ b/src/core/ext/transport/chttp2/transport/frame_data.cc @@ -25,7 +25,6 @@ #include "absl/strings/str_format.h" #include -#include #include #include "src/core/ext/transport/chttp2/transport/internal.h" diff --git a/src/core/ext/transport/chttp2/transport/frame_goaway.cc b/src/core/ext/transport/chttp2/transport/frame_goaway.cc index fadce901392..31e7c76ba39 100644 --- a/src/core/ext/transport/chttp2/transport/frame_goaway.cc +++ b/src/core/ext/transport/chttp2/transport/frame_goaway.cc @@ -28,7 +28,6 @@ #include #include -#include #include #include "src/core/ext/transport/chttp2/transport/internal.h" diff --git a/src/core/ext/transport/chttp2/transport/frame_window_update.cc b/src/core/ext/transport/chttp2/transport/frame_window_update.cc index efae1615eb9..6dafd5318b2 100644 --- a/src/core/ext/transport/chttp2/transport/frame_window_update.cc +++ b/src/core/ext/transport/chttp2/transport/frame_window_update.cc @@ -25,7 +25,6 @@ #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" -#include #include #include "src/core/ext/transport/chttp2/transport/flow_control.h" diff --git a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc index 3492fd5982b..143781dca32 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +++ b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc @@ -18,7 +18,6 @@ #include "absl/log/check.h" -#include #include namespace grpc_core { diff --git a/src/core/ext/transport/chttp2/transport/ping_callbacks.cc b/src/core/ext/transport/chttp2/transport/ping_callbacks.cc index b568ad860a7..4bd16e1fbb4 100644 --- a/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +++ b/src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -20,7 +20,6 @@ #include "absl/meta/type_traits.h" #include "absl/random/distributions.h" -#include #include namespace grpc_core { diff --git a/src/core/ext/transport/chttp2/transport/write_size_policy.cc b/src/core/ext/transport/chttp2/transport/write_size_policy.cc index f8ec481d7fe..63e8d2b7e25 100644 --- a/src/core/ext/transport/chttp2/transport/write_size_policy.cc +++ b/src/core/ext/transport/chttp2/transport/write_size_policy.cc @@ -18,7 +18,6 @@ #include "absl/log/check.h" -#include #include namespace grpc_core { diff --git a/src/core/ext/transport/cronet/transport/cronet_api_phony.cc b/src/core/ext/transport/cronet/transport/cronet_api_phony.cc index 57afb811468..f0befc2faa1 100644 --- a/src/core/ext/transport/cronet/transport/cronet_api_phony.cc +++ b/src/core/ext/transport/cronet/transport/cronet_api_phony.cc @@ -22,7 +22,6 @@ #include "absl/log/check.h" #include "third_party/objective_c/Cronet/bidirectional_stream_c.h" -#include #include #ifdef GRPC_COMPILE_WITH_CRONET diff --git a/src/core/lib/transport/promise_endpoint.cc b/src/core/lib/transport/promise_endpoint.cc index 031f5194e02..355cf44333f 100644 --- a/src/core/lib/transport/promise_endpoint.cc +++ b/src/core/lib/transport/promise_endpoint.cc @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "src/core/lib/gprpp/sync.h" diff --git a/src/core/lib/transport/timeout_encoding.cc b/src/core/lib/transport/timeout_encoding.cc index deb82cb2cdc..57621d835c0 100644 --- a/src/core/lib/transport/timeout_encoding.cc +++ b/src/core/lib/transport/timeout_encoding.cc @@ -23,7 +23,6 @@ #include "absl/base/attributes.h" #include "absl/log/check.h" -#include #include #include diff --git a/src/core/lib/transport/transport_op_string.cc b/src/core/lib/transport/transport_op_string.cc index 09222337537..40ea5bc2d8a 100644 --- a/src/core/lib/transport/transport_op_string.cc +++ b/src/core/lib/transport/transport_op_string.cc @@ -22,7 +22,6 @@ #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" -#include #include #include "src/core/lib/channel/channel_fwd.h" diff --git a/src/core/xds/grpc/xds_transport_grpc.cc b/src/core/xds/grpc/xds_transport_grpc.cc index f2759b251a6..6af60f0516d 100644 --- a/src/core/xds/grpc/xds_transport_grpc.cc +++ b/src/core/xds/grpc/xds_transport_grpc.cc @@ -34,7 +34,6 @@ #include #include #include -#include #include #include "src/core/client_channel/client_channel_filter.h" diff --git a/src/cpp/client/channel_cc.cc b/src/cpp/client/channel_cc.cc index 8b8e37fc9f2..457f9db37aa 100644 --- a/src/cpp/client/channel_cc.cc +++ b/src/cpp/client/channel_cc.cc @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpp/client/client_context.cc b/src/cpp/client/client_context.cc index 76bee4cb6b8..78c0bd16002 100644 --- a/src/cpp/client/client_context.cc +++ b/src/cpp/client/client_context.cc @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpp/client/xds_credentials.cc b/src/cpp/client/xds_credentials.cc index d7878e5cb5b..e3fefd04c47 100644 --- a/src/cpp/client/xds_credentials.cc +++ b/src/cpp/client/xds_credentials.cc @@ -22,7 +22,6 @@ #include #include -#include #include namespace grpc { diff --git a/src/cpp/common/alarm.cc b/src/cpp/common/alarm.cc index 918922eb235..041584eb489 100644 --- a/src/cpp/common/alarm.cc +++ b/src/cpp/common/alarm.cc @@ -25,7 +25,6 @@ #include #include -#include #include #include #include diff --git a/src/cpp/common/channel_arguments.cc b/src/cpp/common/channel_arguments.cc index 3eb56c32806..fc09938b99f 100644 --- a/src/cpp/common/channel_arguments.cc +++ b/src/cpp/common/channel_arguments.cc @@ -24,7 +24,6 @@ #include #include -#include #include #include #include diff --git a/src/cpp/common/tls_certificate_provider.cc b/src/cpp/common/tls_certificate_provider.cc index b94a807bfdb..7d841b38fd5 100644 --- a/src/cpp/common/tls_certificate_provider.cc +++ b/src/cpp/common/tls_certificate_provider.cc @@ -21,7 +21,6 @@ #include #include -#include #include namespace grpc { diff --git a/src/cpp/common/tls_certificate_verifier.cc b/src/cpp/common/tls_certificate_verifier.cc index a642760a4a9..d298cf26773 100644 --- a/src/cpp/common/tls_certificate_verifier.cc +++ b/src/cpp/common/tls_certificate_verifier.cc @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpp/common/tls_credentials_options.cc b/src/cpp/common/tls_credentials_options.cc index ef260b86908..74e74128322 100644 --- a/src/cpp/common/tls_credentials_options.cc +++ b/src/cpp/common/tls_credentials_options.cc @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpp/ext/filters/census/client_filter.cc b/src/cpp/ext/filters/census/client_filter.cc index daffd3e78a2..cf0aac4c0d2 100644 --- a/src/cpp/ext/filters/census/client_filter.cc +++ b/src/cpp/ext/filters/census/client_filter.cc @@ -44,7 +44,6 @@ #include "opencensus/trace/status_code.h" #include -#include #include #include #include diff --git a/src/cpp/ext/otel/otel_client_call_tracer.cc b/src/cpp/ext/otel/otel_client_call_tracer.cc index 822a96ea9cf..8e75cb82bba 100644 --- a/src/cpp/ext/otel/otel_client_call_tracer.cc +++ b/src/cpp/ext/otel/otel_client_call_tracer.cc @@ -40,7 +40,6 @@ #include "opentelemetry/metrics/sync_instruments.h" #include -#include #include #include diff --git a/src/cpp/server/backend_metric_recorder.cc b/src/cpp/server/backend_metric_recorder.cc index e686fa9d0e3..2396e5d13ab 100644 --- a/src/cpp/server/backend_metric_recorder.cc +++ b/src/cpp/server/backend_metric_recorder.cc @@ -26,7 +26,6 @@ #include "absl/log/log.h" -#include #include #include diff --git a/src/cpp/server/insecure_server_credentials.cc b/src/cpp/server/insecure_server_credentials.cc index ed14ac3def9..a48b9cb93c7 100644 --- a/src/cpp/server/insecure_server_credentials.cc +++ b/src/cpp/server/insecure_server_credentials.cc @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/src/cpp/server/orca/orca_service.cc b/src/cpp/server/orca/orca_service.cc index 05a86fdfd08..9cc09c9909e 100644 --- a/src/cpp/server/orca/orca_service.cc +++ b/src/cpp/server/orca/orca_service.cc @@ -32,7 +32,6 @@ #include "xds/service/orca/v3/orca.upb.h" #include -#include #include #include #include diff --git a/src/cpp/server/xds_server_credentials.cc b/src/cpp/server/xds_server_credentials.cc index eb7f6ddfda8..df05e254d45 100644 --- a/src/cpp/server/xds_server_credentials.cc +++ b/src/cpp/server/xds_server_credentials.cc @@ -22,7 +22,6 @@ #include #include -#include #include namespace grpc { diff --git a/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannel.mm b/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannel.mm index 7f29485fee3..93919d0f5ec 100644 --- a/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannel.mm +++ b/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannel.mm @@ -18,8 +18,6 @@ #import "GRPCChannel.h" -#include - #import "../../internal/GRPCCallOptions+Internal.h" #import "../GRPCTransport+Private.h" #import "ChannelArgsUtil.h" diff --git a/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannelPool.mm b/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannelPool.mm index b42fd6e0a1c..a261300cd52 100644 --- a/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannelPool.mm +++ b/src/objective-c/GRPCClient/private/GRPCCore/GRPCChannelPool.mm @@ -28,8 +28,6 @@ #import "GRPCSecureChannelFactory.h" #import "GRPCWrappedCall.h" -#include - extern const char *kCFStreamVarName; static GRPCChannelPool *gChannelPool;