Automated change: Fix sanity tests
diff --git a/src/core/ext/filters/http/client/http_client_filter.cc b/src/core/ext/filters/http/client/http_client_filter.cc index 982c760..e0583e2 100644 --- a/src/core/ext/filters/http/client/http_client_filter.cc +++ b/src/core/ext/filters/http/client/http_client_filter.cc
@@ -20,8 +20,6 @@ #include "src/core/ext/filters/http/client/http_client_filter.h" #include <algorithm> -#include <functional> -#include <memory> #include <string> #include <utility> #include <vector> @@ -39,12 +37,7 @@ #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/promise/context.h" -#include "src/core/lib/promise/latch.h" -#include "src/core/lib/promise/map.h" -#include "src/core/lib/promise/pipe.h" #include "src/core/lib/promise/race.h" -#include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/percent_encoding.h" #include "src/core/lib/transport/status_conversion.h" #include "src/core/lib/transport/transport.h"
diff --git a/src/core/ext/filters/http/client/http_client_filter.h b/src/core/ext/filters/http/client/http_client_filter.h index 1624c65..3fd506e 100644 --- a/src/core/ext/filters/http/client/http_client_filter.h +++ b/src/core/ext/filters/http/client/http_client_filter.h
@@ -20,12 +20,13 @@ #include <grpc/support/port_platform.h> +#include "absl/status/status.h" #include "absl/status/statusor.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/promise_based_filter.h" -#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/promise/race.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h"
diff --git a/src/core/lib/channel/promise_based_filter.cc b/src/core/lib/channel/promise_based_filter.cc index 8e9632e..a41f93b 100644 --- a/src/core/lib/channel/promise_based_filter.cc +++ b/src/core/lib/channel/promise_based_filter.cc
@@ -16,7 +16,6 @@ #include "src/core/lib/channel/promise_based_filter.h" -#include <algorithm> #include <memory> #include <string> #include <utility>
diff --git a/src/core/lib/channel/promise_based_filter.h b/src/core/lib/channel/promise_based_filter.h index 08ed125..9036793 100644 --- a/src/core/lib/channel/promise_based_filter.h +++ b/src/core/lib/channel/promise_based_filter.h
@@ -19,22 +19,31 @@ // promise-style. Most of this will be removed once the promises conversion is // completed. -#include <grpc/event_engine/event_engine.h> -#include <grpc/grpc.h> -#include <grpc/support/log.h> #include <grpc/support/port_platform.h> + #include <stdint.h> #include <stdlib.h> #include <atomic> +#include <functional> #include <memory> #include <new> #include <string> #include <type_traits> #include <utility> +#include "absl/container/inlined_vector.h" +#include "absl/functional/function_ref.h" +#include "absl/meta/type_traits.h" +#include "absl/status/status.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + +#include <grpc/event_engine/event_engine.h> +#include <grpc/grpc.h> +#include <grpc/support/log.h> + #include "src/core/lib/channel/call_finalization.h" -#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/context.h" @@ -50,6 +59,8 @@ #include "src/core/lib/promise/activity.h" #include "src/core/lib/promise/arena_promise.h" #include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/latch.h" +#include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" #include "src/core/lib/promise/poll.h" #include "src/core/lib/resource_quota/arena.h" @@ -58,12 +69,6 @@ #include "src/core/lib/transport/error_utils.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -#include "absl/container/inlined_vector.h" -#include "absl/functional/function_ref.h" -#include "absl/meta/type_traits.h" -#include "absl/status/status.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" namespace grpc_core { @@ -221,14 +226,15 @@ template <typename Derived> struct FilterCallData { - FilterCallData(Derived* channel) : channel(channel) {} + explicit FilterCallData(Derived* channel) : channel(channel) {} GPR_NO_UNIQUE_ADDRESS typename Derived::Call call; GPR_NO_UNIQUE_ADDRESS typename TypeIfNeeded<Latch<ServerMetadataHandle>, CallHasAsyncErrorInterceptor<Derived>()>::Type error_latch; GPR_NO_UNIQUE_ADDRESS - TypeIfNeeded<Derived*, CallHasChannelAccess<Derived>()>::Type channel; + typename TypeIfNeeded<Derived*, CallHasChannelAccess<Derived>()>::Type + channel; }; template <typename Promise>