Update src/core/ext/transport/chttp2/transport/.clang-format

pull/36300/head
Craig Tiller 7 months ago
parent 40d1776e07
commit 471433f90f
  1. 3
      src/core/ext/transport/chttp2/transport/.clang-format
  2. 3
      src/core/ext/transport/chttp2/transport/bin_decoder.cc
  3. 3
      src/core/ext/transport/chttp2/transport/bin_decoder.h
  4. 3
      src/core/ext/transport/chttp2/transport/bin_encoder.cc
  5. 3
      src/core/ext/transport/chttp2/transport/bin_encoder.h
  6. 3
      src/core/ext/transport/chttp2/transport/chttp2_transport.cc
  7. 3
      src/core/ext/transport/chttp2/transport/chttp2_transport.h
  8. 4
      src/core/ext/transport/chttp2/transport/context_list_entry.h
  9. 4
      src/core/ext/transport/chttp2/transport/decode_huff.cc
  10. 4
      src/core/ext/transport/chttp2/transport/decode_huff.h
  11. 3
      src/core/ext/transport/chttp2/transport/flow_control.cc
  12. 3
      src/core/ext/transport/chttp2/transport/flow_control.h
  13. 3
      src/core/ext/transport/chttp2/transport/frame.cc
  14. 4
      src/core/ext/transport/chttp2/transport/frame.h
  15. 3
      src/core/ext/transport/chttp2/transport/frame_data.cc
  16. 3
      src/core/ext/transport/chttp2/transport/frame_data.h
  17. 3
      src/core/ext/transport/chttp2/transport/frame_goaway.cc
  18. 3
      src/core/ext/transport/chttp2/transport/frame_goaway.h
  19. 3
      src/core/ext/transport/chttp2/transport/frame_ping.cc
  20. 3
      src/core/ext/transport/chttp2/transport/frame_ping.h
  21. 3
      src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
  22. 3
      src/core/ext/transport/chttp2/transport/frame_rst_stream.h
  23. 3
      src/core/ext/transport/chttp2/transport/frame_settings.cc
  24. 3
      src/core/ext/transport/chttp2/transport/frame_settings.h
  25. 3
      src/core/ext/transport/chttp2/transport/frame_window_update.cc
  26. 3
      src/core/ext/transport/chttp2/transport/frame_window_update.h
  27. 4
      src/core/ext/transport/chttp2/transport/hpack_constants.h
  28. 3
      src/core/ext/transport/chttp2/transport/hpack_encoder.cc
  29. 3
      src/core/ext/transport/chttp2/transport/hpack_encoder.h
  30. 3
      src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc
  31. 4
      src/core/ext/transport/chttp2/transport/hpack_encoder_table.h
  32. 4
      src/core/ext/transport/chttp2/transport/hpack_parse_result.cc
  33. 3
      src/core/ext/transport/chttp2/transport/hpack_parse_result.h
  34. 3
      src/core/ext/transport/chttp2/transport/hpack_parser.cc
  35. 3
      src/core/ext/transport/chttp2/transport/hpack_parser.h
  36. 3
      src/core/ext/transport/chttp2/transport/hpack_parser_table.cc
  37. 4
      src/core/ext/transport/chttp2/transport/hpack_parser_table.h
  38. 4
      src/core/ext/transport/chttp2/transport/http2_settings.cc
  39. 4
      src/core/ext/transport/chttp2/transport/http2_settings.h
  40. 4
      src/core/ext/transport/chttp2/transport/http_trace.cc
  41. 4
      src/core/ext/transport/chttp2/transport/huffsyms.cc
  42. 3
      src/core/ext/transport/chttp2/transport/internal.h
  43. 3
      src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc
  44. 4
      src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h
  45. 3
      src/core/ext/transport/chttp2/transport/parsing.cc
  46. 3
      src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc
  47. 4
      src/core/ext/transport/chttp2/transport/ping_abuse_policy.h
  48. 3
      src/core/ext/transport/chttp2/transport/ping_callbacks.cc
  49. 3
      src/core/ext/transport/chttp2/transport/ping_callbacks.h
  50. 3
      src/core/ext/transport/chttp2/transport/ping_rate_policy.cc
  51. 4
      src/core/ext/transport/chttp2/transport/ping_rate_policy.h
  52. 3
      src/core/ext/transport/chttp2/transport/stream_lists.cc
  53. 4
      src/core/ext/transport/chttp2/transport/varint.cc
  54. 3
      src/core/ext/transport/chttp2/transport/varint.h
  55. 3
      src/core/ext/transport/chttp2/transport/write_size_policy.cc
  56. 4
      src/core/ext/transport/chttp2/transport/write_size_policy.h
  57. 3
      src/core/ext/transport/chttp2/transport/writing.cc

@ -5,9 +5,6 @@ DerivePointerAlignment: false
PointerAlignment: Left
IncludeBlocks: Regroup
IncludeCategories:
# port_platform.h is before almost everything
- Regex: '^<grpc/(support|impl/codegen)/port_platform.h>'
Priority: -100
# ruby.h is even more first if it's included
- Regex: '^<ruby/ruby.h>'
Priority: -200

@ -16,14 +16,13 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/bin_decoder.h"
#include "absl/base/attributes.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/slice/slice.h"

@ -19,12 +19,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_BIN_DECODER_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_BIN_DECODER_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
struct grpc_base64_decode_context {
// input/output:

@ -16,14 +16,13 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/bin_encoder.h"
#include <stdint.h>
#include <string.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/huffsyms.h"

@ -19,11 +19,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_BIN_ENCODER_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_BIN_ENCODER_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
// base64 encode a slice. Returns a new slice, does not take ownership of the
// input

@ -14,8 +14,6 @@
// limitations under the License.
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
#include <inttypes.h>
@ -54,6 +52,7 @@
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>
#include "src/core/ext/transport/chttp2/transport/context_list_entry.h"

@ -19,14 +19,13 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
#include <grpc/support/port_platform.h>
#include <cstdint>
#include <string>
#include "absl/types/optional.h"
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
#include "src/core/lib/channel/call_tracer.h"

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CONTEXT_LIST_ENTRY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CONTEXT_LIST_ENTRY_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
@ -28,6 +26,8 @@
#include <utility>
#include <vector>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/tcp_tracer.h"
namespace grpc_core {

@ -15,9 +15,9 @@
// This file is autogenerated: see
// tools/codegen/core/gen_huffman_decompressor.cc
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/decode_huff.h"
#include <grpc/support/port_platform.h>
namespace grpc_core {
const uint8_t HuffDecoderCommon::table2_0_emit_[10] = {
0x30, 0x31, 0x32, 0x61, 0x63, 0x65, 0x69, 0x6f, 0x73, 0x74};

@ -17,10 +17,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_DECODE_HUFF_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_DECODE_HUFF_H
#include <grpc/support/port_platform.h>
#include <cstddef>
#include <cstdint>
#include <grpc/support/port_platform.h>
namespace grpc_core {
class HuffDecoderCommon {
protected:

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
#include <inttypes.h>
@ -34,6 +32,7 @@
#include "absl/strings/str_join.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"
#include "src/core/lib/experiments/experiments.h"

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FLOW_CONTROL_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FLOW_CONTROL_H
#include <grpc/support/port_platform.h>
#include <limits.h>
#include <stdint.h>
@ -34,6 +32,7 @@
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"
#include "src/core/lib/debug/trace.h"

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include <stddef.h>
@ -25,6 +23,7 @@
#include "absl/strings/str_cat.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"

@ -15,8 +15,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_H
#include <grpc/support/port_platform.h>
#include <cstdint>
#include <string>
#include <vector>
@ -26,6 +24,8 @@
#include "absl/types/span.h"
#include "absl/types/variant.h"
#include <grpc/support/port_platform.h>
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_buffer.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_data.h"
#include <stdlib.h>
@ -27,6 +25,7 @@
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/internal.h"
#include "src/core/lib/experiments/experiments.h"

@ -21,13 +21,12 @@
// Parser for GRPC streams embedded in DATA frames
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include "absl/status/status.h"
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
#include "src/core/lib/iomgr/error.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_goaway.h"
#include <string.h>
@ -30,6 +28,7 @@
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/internal.h"

@ -19,11 +19,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_GOAWAY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_GOAWAY_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
#include "src/core/lib/iomgr/error.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_ping.h"
#include <inttypes.h>
@ -31,6 +29,7 @@
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/internal.h"
#include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"

@ -19,11 +19,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_PING_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_PING_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
#include "src/core/lib/iomgr/error.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_rst_stream.h"
#include <stddef.h>
@ -29,6 +27,7 @@
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http_trace.h"
#include "src/core/ext/transport/chttp2/transport/internal.h"

@ -19,11 +19,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_RST_STREAM_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_RST_STREAM_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
#include "src/core/lib/iomgr/error.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_settings.h"
#include <string.h>
@ -30,6 +28,7 @@
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
#include "src/core/ext/transport/chttp2/transport/frame_goaway.h"

@ -19,12 +19,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_SETTINGS_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_SETTINGS_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame_window_update.h"
#include <stddef.h>
@ -27,6 +25,7 @@
#include "absl/strings/str_format.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
#include "src/core/ext/transport/chttp2/transport/internal.h"

@ -19,11 +19,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_WINDOW_UPDATE_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_FRAME_WINDOW_UPDATE_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
#include "src/core/lib/iomgr/error.h"

@ -15,11 +15,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_CONSTANTS_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_CONSTANTS_H
#include <grpc/support/port_platform.h>
#include <cstddef>
#include <cstdint>
#include <grpc/support/port_platform.h>
namespace grpc_core {
namespace hpack_constants {
// Per entry overhead bytes as per the spec

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include <algorithm>
@ -26,6 +24,7 @@
#include <grpc/slice.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/bin_encoder.h"
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_ENCODER_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_ENCODER_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <cstdint>
@ -33,6 +31,7 @@
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
#include "src/core/ext/transport/chttp2/transport/hpack_encoder_table.h"

@ -12,13 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_encoder_table.h"
#include <algorithm>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -15,14 +15,14 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_ENCODER_TABLE_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_ENCODER_TABLE_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <vector>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
namespace grpc_core {

@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_parse_result.h"
#include <stddef.h>
#include "absl/strings/str_format.h"
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/iomgr/error.h"

@ -15,8 +15,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSE_RESULT_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSE_RESULT_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <memory>
@ -29,6 +27,7 @@
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/ref_counted.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include <stddef.h>
@ -39,6 +37,7 @@
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/decode_huff.h"
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSER_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSER_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
@ -36,6 +34,7 @@
#include "absl/types/variant.h"
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_parse_result.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parser_table.h"

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_parser_table.h"
#include <stdlib.h>
@ -32,6 +30,7 @@
#include "absl/strings/string_view.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parse_result.h"

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSER_TABLE_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_PARSER_TABLE_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <memory>
@ -29,6 +27,8 @@
#include "absl/functional/function_ref.h"
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parse_result.h"
#include "src/core/lib/gprpp/no_destruct.h"

@ -18,12 +18,12 @@
// Automatically generated by tools/codegen/core/gen_settings_ids.py
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"
#include "absl/strings/str_cat.h"
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/transport/http2_errors.h"

@ -17,8 +17,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_SETTINGS_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_SETTINGS_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <cstdint>
@ -27,6 +25,8 @@
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/transport/http2_errors.h"

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http_trace.h"
#include <grpc/support/port_platform.h>
grpc_core::TraceFlag grpc_http_trace(false, "http");

@ -16,10 +16,10 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/huffsyms.h"
#include <grpc/support/port_platform.h>
// Constants pulled from the HPACK spec, and converted to C using the vim
// command:
// :%s/.* \([0-9a-f]\+\) \[ *\([0-9]\+\)\]/{0x\1, \2},/g

@ -19,8 +19,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_INTERNAL_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_INTERNAL_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
@ -39,6 +37,7 @@
#include <grpc/event_engine/memory_allocator.h>
#include <grpc/grpc.h>
#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>
#include "src/core/ext/transport/chttp2/transport/context_list_entry.h"

@ -12,13 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h"
#include <utility>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -15,11 +15,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_MAX_CONCURRENT_STREAMS_POLICY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_MAX_CONCURRENT_STREAMS_POLICY_H
#include <grpc/support/port_platform.h>
#include <cstdint>
#include <limits>
#include <grpc/support/port_platform.h>
namespace grpc_core {
class Chttp2MaxConcurrentStreamsPolicy {

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include <inttypes.h>
#include <string.h>
@ -41,6 +39,7 @@
#include <grpc/slice.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
#include "src/core/ext/transport/chttp2/transport/frame_data.h"

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"
#include <algorithm>
@ -22,6 +20,7 @@
#include "absl/types/optional.h"
#include <grpc/impl/channel_arg_names.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -15,10 +15,10 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_ABUSE_POLICY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_ABUSE_POLICY_H
#include <grpc/support/port_platform.h>
#include <string>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/time.h"

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h"
#include <utility>
@ -22,6 +20,7 @@
#include "absl/random/distributions.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
grpc_core::TraceFlag grpc_ping_trace(false, "http2_ping");

@ -15,8 +15,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_CALLBACKS_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_CALLBACKS_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
@ -30,6 +28,7 @@
#include "absl/types/optional.h"
#include <grpc/event_engine/event_engine.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/time.h"

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h"
#include <algorithm>
@ -23,6 +21,7 @@
#include "absl/types/optional.h"
#include <grpc/impl/channel_arg_names.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/experiments/experiments.h"
#include "src/core/lib/gprpp/match.h"

@ -15,8 +15,6 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_RATE_POLICY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_RATE_POLICY_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <iosfwd>
@ -24,6 +22,8 @@
#include "absl/types/variant.h"
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/time.h"

@ -16,9 +16,8 @@
//
//
#include <grpc/support/port_platform.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/internal.h"
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"

@ -16,12 +16,12 @@
//
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/varint.h"
#include "absl/base/attributes.h"
#include <grpc/support/port_platform.h>
namespace grpc_core {
size_t VarintLength(size_t tail_value) {

@ -19,12 +19,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_VARINT_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_VARINT_H
#include <grpc/support/port_platform.h>
#include <stdint.h>
#include <stdlib.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
// Helpers for hpack varint encoding

@ -12,13 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/write_size_policy.h"
#include <algorithm>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -15,11 +15,11 @@
#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_WRITE_SIZE_POLICY_H
#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_WRITE_SIZE_POLICY_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <stdint.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/time.h"
namespace grpc_core {

@ -16,8 +16,6 @@
//
//
#include <grpc/support/port_platform.h>
#include <inttypes.h>
#include <stddef.h>
@ -34,6 +32,7 @@
#include <grpc/event_engine/event_engine.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"

Loading…
Cancel
Save