Adjust include order per style guide (#27175)

Introduce clang-format configuration to sort includes closer to our rules.
pull/27241/head
Craig Tiller 3 years ago committed by GitHub
parent 714eaa9df8
commit ea389c00c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 39
      .clang-format
  2. 2
      examples/android/binder/java/io/grpc/binder/cpp/example/native.cc
  3. 4
      examples/android/binder/java/io/grpc/binder/cpp/exampleserver/native.cc
  4. 2
      examples/cpp/helloworld/greeter_async_client2.cc
  5. 4
      examples/cpp/keyvaluestore/client.cc
  6. 3
      examples/cpp/route_guide/route_guide_callback_client.cc
  7. 3
      examples/cpp/route_guide/route_guide_callback_server.cc
  8. 3
      examples/cpp/route_guide/route_guide_client.cc
  9. 3
      examples/cpp/route_guide/route_guide_server.cc
  10. 4
      include/grpc/grpc.h
  11. 4
      include/grpc/grpc_posix.h
  12. 4
      include/grpc/impl/codegen/grpc_types.h
  13. 4
      include/grpc/impl/codegen/sync_posix.h
  14. 4
      include/grpc/support/time.h
  15. 3
      include/grpcpp/create_channel_posix.h
  16. 1
      include/grpcpp/grpcpp.h
  17. 5
      include/grpcpp/impl/codegen/byte_buffer.h
  18. 3
      include/grpcpp/impl/codegen/interceptor_common.h
  19. 4
      include/grpcpp/impl/codegen/server_context.h
  20. 3
      include/grpcpp/impl/codegen/slice.h
  21. 5
      include/grpcpp/impl/codegen/sync.h
  22. 6
      include/grpcpp/security/alts_context.h
  23. 4
      include/grpcpp/security/alts_util.h
  24. 4
      include/grpcpp/security/authorization_policy_provider.h
  25. 6
      include/grpcpp/security/tls_certificate_provider.h
  26. 6
      include/grpcpp/security/tls_credentials_options.h
  27. 4
      include/grpcpp/server.h
  28. 4
      include/grpcpp/server_builder.h
  29. 3
      include/grpcpp/server_posix.h
  30. 4
      include/grpcpp/test/client_context_test_peer.h
  31. 1
      include/grpcpp/test/mock_stream.h
  32. 4
      src/compiler/config.h
  33. 3
      src/compiler/cpp_generator.cc
  34. 1
      src/compiler/cpp_plugin.h
  35. 3
      src/compiler/csharp_generator.cc
  36. 3
      src/compiler/node_generator.cc
  37. 7
      src/compiler/objective_c_generator.cc
  38. 5
      src/compiler/objective_c_generator_helpers.h
  39. 4
      src/compiler/objective_c_plugin.cc
  40. 1
      src/compiler/php_generator.cc
  41. 4
      src/compiler/protobuf_plugin.h
  42. 3
      src/compiler/python_generator.cc
  43. 3
      src/compiler/ruby_generator.cc
  44. 4
      src/compiler/ruby_generator_map-inl.h
  45. 4
      src/compiler/ruby_generator_string-inl.h
  46. 4
      src/compiler/schema_interface.h
  47. 1
      src/core/ext/filters/census/grpc_context.cc
  48. 1
      src/core/ext/filters/client_channel/backend_metric.cc
  49. 1
      src/core/ext/filters/client_channel/backup_poller.h
  50. 3
      src/core/ext/filters/client_channel/channel_connectivity.cc
  51. 5
      src/core/ext/filters/client_channel/client_channel.cc
  52. 7
      src/core/ext/filters/client_channel/client_channel_channelz.cc
  53. 1
      src/core/ext/filters/client_channel/client_channel_factory.cc
  54. 1
      src/core/ext/filters/client_channel/config_selector.cc
  55. 4
      src/core/ext/filters/client_channel/health/health_check_client.cc
  56. 4
      src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc
  57. 6
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
  58. 4
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc
  59. 3
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc
  60. 4
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc
  61. 4
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h
  62. 3
      src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
  63. 1
      src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc
  64. 4
      src/core/ext/filters/client_channel/lb_policy/subchannel_list.h
  65. 4
      src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc
  66. 1
      src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h
  67. 7
      src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
  68. 11
      src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc
  69. 10
      src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc
  70. 1
      src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc
  71. 4
      src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc
  72. 1
      src/core/ext/filters/fault_injection/service_config_parser.cc
  73. 3
      src/core/ext/filters/http/client/http_client_filter.cc
  74. 3
      src/core/ext/filters/http/client_authority_filter.cc
  75. 3
      src/core/ext/filters/http/message_compress/message_compress_filter.cc
  76. 2
      src/core/ext/filters/http/message_compress/message_decompress_filter.cc
  77. 4
      src/core/ext/filters/http/server/http_server_filter.cc
  78. 3
      src/core/ext/filters/load_reporting/server_load_reporting_filter.cc
  79. 9
      src/core/ext/transport/binder/client/channel_create.cc
  80. 8
      src/core/ext/transport/binder/client/channel_create.h
  81. 7
      src/core/ext/transport/binder/server/binder_server.cc
  82. 1
      src/core/ext/transport/binder/server/binder_server.h
  83. 8
      src/core/ext/transport/binder/transport/binder_transport.cc
  84. 4
      src/core/ext/transport/binder/transport/binder_transport.h
  85. 1
      src/core/ext/transport/binder/utils/transport_stream_receiver.h
  86. 4
      src/core/ext/transport/binder/utils/transport_stream_receiver_impl.cc
  87. 1
      src/core/ext/transport/binder/wire_format/binder.h
  88. 7
      src/core/ext/transport/binder/wire_format/binder_android.cc
  89. 1
      src/core/ext/transport/binder/wire_format/binder_android.h
  90. 4
      src/core/ext/transport/binder/wire_format/transaction.h
  91. 5
      src/core/ext/transport/binder/wire_format/wire_reader_impl.cc
  92. 1
      src/core/ext/transport/binder/wire_format/wire_reader_impl.h
  93. 4
      src/core/ext/transport/binder/wire_format/wire_writer.cc
  94. 4
      src/core/ext/transport/binder/wire_format/wire_writer.h
  95. 3
      src/core/ext/transport/chttp2/alpn/alpn.cc
  96. 3
      src/core/ext/transport/chttp2/client/chttp2_connector.cc
  97. 3
      src/core/ext/transport/chttp2/client/insecure/channel_create.cc
  98. 3
      src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc
  99. 1
      src/core/ext/transport/chttp2/server/chttp2_server.cc
  100. 1
      src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc
  101. Some files were not shown because too many files have changed in this diff Show More

@ -3,7 +3,44 @@ Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Left
IncludeBlocks: Preserve
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
# Some platforms (namely msys) need wchar to be included BEFORE
# anything else, especially strsafe.h.
- Regex: '^<wchar.h>'
Priority: 5
# use priority 100+ for grpc headers so they sort last
# 'system' headers - include things that have " in the names to make them
# stand out and get fixed
- Regex: '^(<|")grpc'
Priority: 100
# similary using include/ to get system headers should stand out and get
# fixed
- Regex: '^"include/'
Priority: 100
# source headers go last
- Regex: '^"(src|test)/'
Priority: 101
# not-grpc headers follow
# first, non system headers that are included like <> - these are all
# local carveouts, and get sorted below c++ but before non grpc "" files
- Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|benchmark/|google/)'
Priority: 30
# first C system headers - they have a . in the filename
- Regex: '^<.*\.'
Priority: 10
# then C++ system headers - no ., the only thing that will match now
- Regex: '^<'
Priority: 20
# finally other "" includes go between system headers and our headers
- Regex: '^"'
Priority: 40
---
Language: ObjC
BasedOnStyle: Google

@ -14,8 +14,10 @@
#include <android/log.h>
#include <jni.h>
#include "examples/protos/helloworld.grpc.pb.h"
#include "examples/protos/helloworld.pb.h"
#include "src/core/ext/transport/binder/client/channel_create.h"
extern "C" JNIEXPORT jstring JNICALL

@ -17,11 +17,13 @@
#include <android/binder_ibinder_jni.h>
#include <android/binder_interface_utils.h>
#include <android/log.h>
#include <grpcpp/grpcpp.h>
#include <jni.h>
#include "examples/protos/helloworld.grpc.pb.h"
#include "examples/protos/helloworld.pb.h"
#include <grpcpp/grpcpp.h>
#include "src/core/ext/transport/binder/server/binder_server.h"
#include "src/core/ext/transport/binder/server/binder_server_credentials.h"

@ -19,10 +19,10 @@
#include <iostream>
#include <memory>
#include <string>
#include <thread>
#include <grpc/support/log.h>
#include <grpcpp/grpcpp.h>
#include <thread>
#ifdef BAZEL_BUILD
#include "examples/protos/helloworld.grpc.pb.h"

@ -21,10 +21,10 @@
#include <string>
#include <vector>
#include <grpcpp/grpcpp.h>
#include "caching_interceptor.h"
#include <grpcpp/grpcpp.h>
#ifdef BAZEL_BUILD
#include "examples/protos/keyvaluestore.grpc.pb.h"
#else

@ -25,13 +25,14 @@
#include <string>
#include <thread>
#include "helper.h"
#include <grpc/grpc.h>
#include <grpcpp/alarm.h>
#include <grpcpp/channel.h>
#include <grpcpp/client_context.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/security/credentials.h>
#include "helper.h"
#ifdef BAZEL_BUILD
#include "examples/protos/route_guide.grpc.pb.h"
#else

@ -24,12 +24,13 @@
#include <string>
#include <thread>
#include "helper.h"
#include <grpc/grpc.h>
#include <grpcpp/security/server_credentials.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h>
#include "helper.h"
#ifdef BAZEL_BUILD
#include "examples/protos/route_guide.grpc.pb.h"
#else

@ -23,12 +23,13 @@
#include <string>
#include <thread>
#include "helper.h"
#include <grpc/grpc.h>
#include <grpcpp/channel.h>
#include <grpcpp/client_context.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/security/credentials.h>
#include "helper.h"
#ifdef BAZEL_BUILD
#include "examples/protos/route_guide.grpc.pb.h"
#else

@ -23,12 +23,13 @@
#include <memory>
#include <string>
#include "helper.h"
#include <grpc/grpc.h>
#include <grpcpp/security/server_credentials.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h>
#include "helper.h"
#ifdef BAZEL_BUILD
#include "examples/protos/route_guide.grpc.pb.h"
#else

@ -21,15 +21,15 @@
#include <grpc/support/port_platform.h>
#include <grpc/status.h>
#include <stddef.h>
#include <grpc/byte_buffer.h>
#include <grpc/impl/codegen/connectivity_state.h>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/impl/codegen/propagation_bits.h>
#include <grpc/slice.h>
#include <grpc/status.h>
#include <grpc/support/time.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {

@ -21,10 +21,10 @@
#include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/grpc_types.h>
#include <stddef.h>
#include <grpc/impl/codegen/grpc_types.h>
#ifdef __cplusplus
extern "C" {
#endif

@ -23,13 +23,13 @@
#include <grpc/impl/codegen/port_platform.h>
#include <stddef.h>
#include <grpc/impl/codegen/compression_types.h>
#include <grpc/impl/codegen/gpr_types.h>
#include <grpc/impl/codegen/slice.h>
#include <grpc/impl/codegen/status.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif

@ -23,10 +23,10 @@
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h>
#include <pthread.h>
#include <grpc/impl/codegen/sync_generic.h>
#ifdef GRPC_ASAN_ENABLED
/* The member |leak_checker| is used to check whether there is a memory leak
* caused by upper layer logic that's missing the |gpr_xx_destroy| call

@ -21,11 +21,11 @@
#include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/gpr_types.h>
#include <stddef.h>
#include <time.h>
#include <grpc/impl/codegen/gpr_types.h>
#ifdef __cplusplus
extern "C" {
#endif

@ -19,9 +19,10 @@
#ifndef GRPCPP_CREATE_CHANNEL_POSIX_H
#define GRPCPP_CREATE_CHANNEL_POSIX_H
#include <grpc/support/port_platform.h>
#include <memory>
#include <grpc/support/port_platform.h>
#include <grpcpp/channel.h>
#include <grpcpp/support/channel_arguments.h>

@ -49,7 +49,6 @@
// headers are not private for grpcpp.h and are part of its interface.
// IWYU pragma: begin_exports
#include <grpc/grpc.h>
#include <grpcpp/channel.h>
#include <grpcpp/client_context.h>
#include <grpcpp/completion_queue.h>

@ -21,16 +21,15 @@
// IWYU pragma: private, include <grpcpp/support/byte_buffer.h>
#include <grpc/impl/codegen/byte_buffer.h>
#include <vector>
#include <grpc/impl/codegen/byte_buffer.h>
#include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/serialization_traits.h>
#include <grpcpp/impl/codegen/slice.h>
#include <grpcpp/impl/codegen/status.h>
#include <vector>
namespace grpc {
class ServerInterface;

@ -24,14 +24,13 @@
#include <array>
#include <functional>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/call_op_set_interface.h>
#include <grpcpp/impl/codegen/client_interceptor.h>
#include <grpcpp/impl/codegen/intercepted_channel.h>
#include <grpcpp/impl/codegen/server_interceptor.h>
#include <grpc/impl/codegen/grpc_types.h>
namespace grpc {
namespace internal {

@ -21,6 +21,8 @@
// IWYU pragma: private, include <grpcpp/server_context.h>
#include <grpc/impl/codegen/port_platform.h>
#include <atomic>
#include <cassert>
#include <map>
@ -28,8 +30,6 @@
#include <type_traits>
#include <vector>
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/compression_types.h>
#include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/call_op_set.h>

@ -21,12 +21,11 @@
// IWYU pragma: private, include <grpcpp/support/slice.h>
#include <grpc/impl/codegen/slice.h>
#include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/string_ref.h>
#include <grpc/impl/codegen/slice.h>
namespace grpc {
/// A wrapper around \a grpc_slice.

@ -29,13 +29,12 @@
#include <mutex>
#include "absl/synchronization/mutex.h"
#include <grpc/impl/codegen/log.h>
#include <grpc/impl/codegen/sync.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h>
#include "absl/synchronization/mutex.h"
// The core library is not accessible in C++ codegen headers, and vice versa.
// Thus, we need to have duplicate headers with similar functionality.
// Make sure any change to this file is also reflected in

@ -19,12 +19,12 @@
#ifndef GRPCPP_SECURITY_ALTS_CONTEXT_H
#define GRPCPP_SECURITY_ALTS_CONTEXT_H
#include <grpc/grpc_security_constants.h>
#include <grpcpp/security/auth_context.h>
#include <map>
#include <memory>
#include <grpc/grpc_security_constants.h>
#include <grpcpp/security/auth_context.h>
struct grpc_gcp_AltsContext;
namespace grpc {

@ -19,13 +19,13 @@
#ifndef GRPCPP_SECURITY_ALTS_UTIL_H
#define GRPCPP_SECURITY_ALTS_UTIL_H
#include <memory>
#include <grpc/grpc_security_constants.h>
#include <grpcpp/impl/codegen/status.h>
#include <grpcpp/security/alts_context.h>
#include <grpcpp/security/auth_context.h>
#include <memory>
struct grpc_gcp_AltsContext;
namespace grpc {

@ -15,11 +15,11 @@
#ifndef GRPCPP_SECURITY_AUTHORIZATION_POLICY_PROVIDER_H
#define GRPCPP_SECURITY_AUTHORIZATION_POLICY_PROVIDER_H
#include <memory>
#include <grpc/status.h>
#include <grpcpp/impl/codegen/grpc_library.h>
#include <memory>
// TODO(yihuazhang): remove the forward declaration here and include
// <grpc/grpc_security.h> directly once the insecure builds are cleaned up.
typedef struct grpc_authorization_policy_provider

@ -17,15 +17,15 @@
#ifndef GRPCPP_SECURITY_TLS_CERTIFICATE_PROVIDER_H
#define GRPCPP_SECURITY_TLS_CERTIFICATE_PROVIDER_H
#include <memory>
#include <vector>
#include <grpc/grpc_security_constants.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpcpp/impl/codegen/grpc_library.h>
#include <grpcpp/support/config.h>
#include <memory>
#include <vector>
// TODO(yihuazhang): remove the forward declaration here and include
// <grpc/grpc_security.h> directly once the insecure builds are cleaned up.
typedef struct grpc_tls_certificate_provider grpc_tls_certificate_provider;

@ -19,15 +19,15 @@
#ifndef GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H
#define GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H
#include <memory>
#include <vector>
#include <grpc/grpc_security_constants.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpcpp/security/tls_certificate_provider.h>
#include <grpcpp/support/config.h>
#include <memory>
#include <vector>
// TODO(yihuazhang): remove the forward declaration here and include
// <grpc/grpc_security.h> directly once the insecure builds are cleaned up.
typedef struct grpc_tls_server_authorization_check_arg

@ -19,12 +19,12 @@
#ifndef GRPCPP_SERVER_H
#define GRPCPP_SERVER_H
#include <grpc/impl/codegen/port_platform.h>
#include <list>
#include <memory>
#include <vector>
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/compression.h>
#include <grpc/support/atm.h>
#include <grpcpp/channel.h>

@ -19,13 +19,13 @@
#ifndef GRPCPP_SERVER_BUILDER_H
#define GRPCPP_SERVER_BUILDER_H
#include <grpc/impl/codegen/port_platform.h>
#include <climits>
#include <map>
#include <memory>
#include <vector>
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/compression.h>
#include <grpc/support/cpu.h>
#include <grpc/support/workaround_list.h>

@ -19,9 +19,10 @@
#ifndef GRPCPP_SERVER_POSIX_H
#define GRPCPP_SERVER_POSIX_H
#include <grpc/support/port_platform.h>
#include <memory>
#include <grpc/support/port_platform.h>
#include <grpcpp/server.h>
namespace grpc {

@ -19,10 +19,10 @@
#ifndef GRPCPP_TEST_CLIENT_CONTEXT_TEST_PEER_H
#define GRPCPP_TEST_CLIENT_CONTEXT_TEST_PEER_H
#include <grpcpp/client_context.h>
#include <map>
#include <grpcpp/client_context.h>
namespace grpc {
namespace testing {

@ -22,6 +22,7 @@
#include <stdint.h>
#include <gmock/gmock.h>
#include <grpcpp/impl/codegen/call.h>
#include <grpcpp/support/async_stream.h>
#include <grpcpp/support/async_unary_call.h>

@ -19,10 +19,10 @@
#ifndef SRC_COMPILER_CONFIG_H
#define SRC_COMPILER_CONFIG_H
#include "src/compiler/config_protobuf.h"
#include <string>
#include "src/compiler/config_protobuf.h"
#ifdef GRPC_CUSTOM_STRING
#warning GRPC_CUSTOM_STRING is no longer supported. Please use std::string.
#endif

@ -16,10 +16,9 @@
*
*/
#include <map>
#include "src/compiler/cpp_generator.h"
#include <map>
#include <sstream>
namespace grpc_cpp_generator {

@ -23,7 +23,6 @@
#include <sstream>
#include "src/compiler/config.h"
#include "src/compiler/cpp_generator.h"
#include "src/compiler/generator_helpers.h"
#include "src/compiler/protobuf_plugin.h"

@ -16,13 +16,14 @@
*
*/
#include "src/compiler/csharp_generator.h"
#include <cctype>
#include <map>
#include <sstream>
#include <vector>
#include "src/compiler/config.h"
#include "src/compiler/csharp_generator.h"
#include "src/compiler/csharp_generator_helpers.h"
using grpc::protobuf::Descriptor;

@ -16,11 +16,12 @@
*
*/
#include "src/compiler/node_generator.h"
#include <map>
#include "src/compiler/config.h"
#include "src/compiler/generator_helpers.h"
#include "src/compiler/node_generator.h"
#include "src/compiler/node_generator_helpers.h"
using grpc::protobuf::Descriptor;

@ -16,16 +16,17 @@
*
*/
#include "src/compiler/objective_c_generator.h"
#include <map>
#include <set>
#include <sstream>
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
#include "src/compiler/config.h"
#include "src/compiler/objective_c_generator.h"
#include "src/compiler/objective_c_generator_helpers.h"
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
using ::google::protobuf::compiler::objectivec::ClassName;
using ::grpc::protobuf::FileDescriptor;
using ::grpc::protobuf::MethodDescriptor;

@ -20,11 +20,12 @@
#define GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_HELPERS_H
#include <map>
#include "src/compiler/config.h"
#include "src/compiler/generator_helpers.h"
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
#include "src/compiler/config.h"
#include "src/compiler/generator_helpers.h"
namespace grpc_objective_c_generator {
using ::grpc::protobuf::FileDescriptor;

@ -20,12 +20,12 @@
#include <memory>
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
#include "src/compiler/config.h"
#include "src/compiler/objective_c_generator.h"
#include "src/compiler/objective_c_generator_helpers.h"
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
using ::google::protobuf::compiler::objectivec::
IsProtobufLibraryBundledProtoFile;
using ::google::protobuf::compiler::objectivec::ProtobufLibraryFrameworkName;

@ -19,6 +19,7 @@
#include <map>
#include <google/protobuf/compiler/php/php_generator.h>
#include "src/compiler/config.h"
#include "src/compiler/generator_helpers.h"
#include "src/compiler/php_generator_helpers.h"

@ -19,14 +19,14 @@
#ifndef GRPC_INTERNAL_COMPILER_PROTOBUF_PLUGIN_H
#define GRPC_INTERNAL_COMPILER_PROTOBUF_PLUGIN_H
#include <vector>
#include "src/compiler/config.h"
#include "src/compiler/cpp_generator_helpers.h"
#include "src/compiler/python_generator_helpers.h"
#include "src/compiler/python_private_generator.h"
#include "src/compiler/schema_interface.h"
#include <vector>
// Get leading or trailing comments in a string.
template <typename DescriptorType>
inline std::string GetCommentsHelper(const DescriptorType* desc, bool leading,

@ -16,6 +16,8 @@
*
*/
#include "src/compiler/python_generator.h"
#include <algorithm>
#include <cassert>
#include <cctype>
@ -33,7 +35,6 @@
#include "src/compiler/config.h"
#include "src/compiler/generator_helpers.h"
#include "src/compiler/protobuf_plugin.h"
#include "src/compiler/python_generator.h"
#include "src/compiler/python_generator_helpers.h"
#include "src/compiler/python_private_generator.h"

@ -16,12 +16,13 @@
*
*/
#include "src/compiler/ruby_generator.h"
#include <cctype>
#include <map>
#include <vector>
#include "src/compiler/config.h"
#include "src/compiler/ruby_generator.h"
#include "src/compiler/ruby_generator_helpers-inl.h"
#include "src/compiler/ruby_generator_map-inl.h"
#include "src/compiler/ruby_generator_string-inl.h"

@ -19,14 +19,14 @@
#ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_MAP_INL_H
#define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_MAP_INL_H
#include "src/compiler/config.h"
#include <initializer_list>
#include <iostream>
#include <map>
#include <ostream> // NOLINT
#include <vector>
#include "src/compiler/config.h"
using std::initializer_list;
using std::map;
using std::vector;

@ -19,12 +19,12 @@
#ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_STRING_INL_H
#define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_STRING_INL_H
#include "src/compiler/config.h"
#include <algorithm>
#include <sstream>
#include <vector>
#include "src/compiler/config.h"
using std::getline;
using std::transform;

@ -19,12 +19,12 @@
#ifndef GRPC_INTERNAL_COMPILER_SCHEMA_INTERFACE_H
#define GRPC_INTERNAL_COMPILER_SCHEMA_INTERFACE_H
#include "src/compiler/config.h"
#include <memory>
#include <string>
#include <vector>
#include "src/compiler/config.h"
#ifdef GRPC_CUSTOM_STRING
#warning GRPC_CUSTOM_STRING is no longer supported. Please use std::string.
#endif

@ -20,6 +20,7 @@
#include <grpc/census.h>
#include <grpc/grpc.h>
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/call.h"

@ -19,7 +19,6 @@
#include "src/core/ext/filters/client_channel/backend_metric.h"
#include "absl/strings/string_view.h"
#include "udpa/data/orca/v1/orca_load_report.upb.h"
#include "upb/upb.hpp"

@ -22,6 +22,7 @@
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/gprpp/global_config.h"

@ -16,13 +16,12 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/surface/channel.h"
#include <grpc/support/log.h>
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/channel.h"
#include "src/core/lib/surface/completion_queue.h"
grpc_connectivity_state grpc_channel_check_connectivity_state(

@ -26,19 +26,18 @@
#include <set>
#include "absl/container/inlined_vector.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/sync.h>
#include "absl/container/inlined_vector.h"
#include "absl/types/optional.h"
#include "src/core/ext/filters/client_channel/backend_metric.h"
#include "src/core/ext/filters/client_channel/backup_poller.h"
#include "src/core/ext/filters/client_channel/config_selector.h"

@ -18,15 +18,16 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/ext/filters/client_channel/client_channel_channelz.h"
#include <grpc/support/string_util.h>
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/lib/channel/channelz_registry.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/surface/channel.h"
#include "src/core/lib/transport/connectivity_state.h"
#include <grpc/support/string_util.h>
namespace grpc_core {
namespace channelz {

@ -19,6 +19,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/client_channel_factory.h"
#include "src/core/lib/channel/channel_args.h"
// Channel arg key for client channel factory.

@ -17,6 +17,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/config_selector.h"
#include "src/core/lib/channel/channel_args.h"
namespace grpc_core {

@ -18,11 +18,11 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/health/health_check_client.h"
#include <stdint.h>
#include <stdio.h>
#include "src/core/ext/filters/client_channel/health/health_check_client.h"
#include "upb/upb.hpp"
#include "src/core/lib/debug/trace.h"

@ -16,10 +16,10 @@
#include <grpc/support/port_platform.h>
#include <cstring>
#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h"
#include <cstring>
#include "absl/strings/str_cat.h"
#include "src/core/ext/filters/client_channel/lb_policy_registry.h"

@ -53,8 +53,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/sockaddr.h"
#include "src/core/lib/iomgr/socket_utils.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h"
#include <inttypes.h>
#include <limits.h>
@ -65,7 +64,6 @@
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/strings/strip.h"
#include "upb/upb.hpp"
#include <grpc/byte_buffer_reader.h>
@ -77,7 +75,6 @@
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h"
@ -97,6 +94,7 @@
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/sockaddr.h"
#include "src/core/lib/iomgr/socket_utils.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"

@ -18,10 +18,10 @@
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h"
#include <grpc/grpc.h>
namespace grpc_core {
grpc_channel_args* ModifyGrpclbBalancerChannelArgs(grpc_channel_args* args) {

@ -18,8 +18,6 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h"
#include <string.h>
#include "absl/container/inlined_vector.h"
@ -30,6 +28,7 @@
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h"
#include "src/core/ext/filters/client_channel/server_address.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/channel/channel_args.h"

@ -22,11 +22,11 @@
#include <string.h>
#include "absl/memory/memory.h"
#include <grpc/support/atm.h>
#include <grpc/support/string_util.h>
#include "absl/memory/memory.h"
#include "src/core/lib/gprpp/sync.h"
namespace grpc_core {

@ -21,10 +21,10 @@
#include <grpc/support/port_platform.h>
#include <grpc/support/atm.h>
#include "absl/container/inlined_vector.h"
#include <grpc/support/atm.h>
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/sync.h"

@ -19,13 +19,14 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h"
#include "src/core/lib/gpr/useful.h"
#include "google/protobuf/duration.upb.h"
#include "google/protobuf/timestamp.upb.h"
#include <grpc/support/alloc.h>
#include "src/core/lib/gpr/useful.h"
namespace grpc_core {
bool GrpcLbServer::operator==(const GrpcLbServer& other) const {

@ -25,6 +25,7 @@
#include "xxhash.h"
#include <grpc/support/alloc.h>
#include "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h"
#include "src/core/ext/filters/client_channel/lb_policy_registry.h"
#include "src/core/ext/filters/client_channel/subchannel.h"

@ -23,10 +23,10 @@
#include <string.h>
#include <grpc/support/alloc.h>
#include "absl/container/inlined_vector.h"
#include <grpc/support/alloc.h>
#include "src/core/ext/filters/client_channel/lb_policy_registry.h"
#include "src/core/ext/filters/client_channel/server_address.h"
// TODO(roth): Should not need the include of subchannel.h here, since

@ -24,14 +24,14 @@
#include <stdio.h>
#include <string.h>
#include <address_sorting/address_sorting.h>
#include "absl/container/inlined_vector.h"
#include "absl/strings/str_cat.h"
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>
#include <address_sorting/address_sorting.h>
#include "src/core/ext/filters/client_channel/http_connect_handshaker.h"
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h"
#include "src/core/ext/filters/client_channel/lb_policy_registry.h"

@ -22,6 +22,7 @@
#include <grpc/support/port_platform.h>
#include <ares.h>
#include "src/core/lib/iomgr/pollset_set.h"
#include "src/core/lib/iomgr/work_serializer.h"

@ -20,18 +20,19 @@
#include "src/core/lib/iomgr/port.h"
#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER)
#include <ares.h>
#include <string.h>
#include <sys/ioctl.h>
#include "absl/strings/str_cat.h"
#include <ares.h>
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
#include "absl/strings/str_cat.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/gpr/string.h"

@ -20,16 +20,20 @@
#include "src/core/lib/iomgr/port.h"
#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER)
#include "absl/strings/str_format.h"
#include <string.h>
#include <ares.h>
#include "absl/strings/str_format.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/log_windows.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include <string.h>
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/gprpp/memory.h"
@ -40,9 +44,6 @@
#include "src/core/lib/iomgr/work_serializer.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h"
/* TODO(apolcyn): remove this hack after fixing upstream.
* Our grpc/c-ares code on Windows uses the ares_set_socket_functions API,
* which uses "struct iovec" type, which on Windows is defined inside of

@ -20,24 +20,23 @@
#if GRPC_ARES == 1
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h"
#include "src/core/lib/iomgr/sockaddr.h"
#include <string.h>
#include <sys/types.h>
#include <address_sorting/address_sorting.h>
#include <ares.h>
#include "absl/container/inlined_vector.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include <ares.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include <address_sorting/address_sorting.h>
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
#include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h"
#include "src/core/lib/address_utils/parse_address.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/gpr/string.h"
@ -46,6 +45,7 @@
#include "src/core/lib/iomgr/executor.h"
#include "src/core/lib/iomgr/iomgr_internal.h"
#include "src/core/lib/iomgr/nameser.h"
#include "src/core/lib/iomgr/sockaddr.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/lib/transport/authority_override.h"

@ -19,6 +19,7 @@
#include <grpc/support/port_platform.h>
#include <inttypes.h>
#include <climits>
#include <cstring>

@ -19,6 +19,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
@ -41,8 +43,6 @@
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
namespace grpc_core {
// This cannot be in an anonymous namespace, because it is a friend of

@ -22,6 +22,7 @@
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "src/core/ext/filters/client_channel/service_config.h"
#include "src/core/ext/filters/fault_injection/fault_injection_filter.h"
#include "src/core/lib/channel/channel_args.h"

@ -17,6 +17,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/http/client/http_client_filter.h"
#include <stdint.h>
#include <string.h>
@ -30,7 +32,6 @@
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/ext/filters/http/client/http_client_filter.h"
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/gprpp/manual_constructor.h"
#include "src/core/lib/profiling/timers.h"

@ -18,6 +18,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/http/client_authority_filter.h"
#include <assert.h>
#include <limits.h>
#include <string.h>
@ -26,7 +28,6 @@
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/ext/filters/http/client_authority_filter.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/slice/slice_internal.h"

@ -18,6 +18,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/http/message_compress/message_compress_filter.h"
#include <assert.h>
#include <string.h>
@ -28,7 +30,6 @@
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/ext/filters/http/message_compress/message_compress_filter.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/compression/algorithm_metadata.h"
#include "src/core/lib/compression/compression_args.h"

@ -24,13 +24,13 @@
#include <string.h>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include <grpc/compression.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "absl/strings/str_format.h"
#include "src/core/ext/filters/message_size/message_size_filter.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/compression/algorithm_metadata.h"

@ -20,9 +20,11 @@
#include "src/core/ext/filters/http/server/http_server_filter.h"
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <string.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/manual_constructor.h"
#include "src/core/lib/profiling/timers.h"

@ -18,6 +18,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/load_reporting/server_load_reporting_filter.h"
#include <string.h>
#include <string>
@ -31,7 +33,6 @@
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h"
#include "src/core/ext/filters/load_reporting/registered_opencensus_objects.h"
#include "src/core/ext/filters/load_reporting/server_load_reporting_filter.h"
#include "src/core/lib/address_utils/parse_address.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/context.h"

@ -29,17 +29,20 @@
#ifdef GPR_SUPPORT_BINDER_TRANSPORT
#include <grpc/support/port_platform.h>
#include <android/binder_auto_utils.h>
#include <android/binder_ibinder.h>
#include <android/binder_ibinder_jni.h>
#include <android/binder_interface_utils.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpcpp/impl/grpc_library.h>
#include "absl/memory/memory.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include <grpc/support/log.h>
#include <grpcpp/impl/grpc_library.h>
#include "src/core/ext/transport/binder/client/channel_create_impl.h"
#include "src/core/ext/transport/binder/client/jni_utils.h"
#include "src/core/ext/transport/binder/transport/binder_transport.h"

@ -19,14 +19,16 @@
#ifdef GPR_ANDROID
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/support/port_platform.h>
#include <grpcpp/channel.h>
#include <grpcpp/support/channel_arguments.h>
#include <jni.h>
#include "absl/strings/string_view.h"
#include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/channel.h>
#include <grpcpp/support/channel_arguments.h>
namespace grpc {
namespace experimental {

@ -14,13 +14,16 @@
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/grpc.h>
#include "src/core/ext/transport/binder/server/binder_server.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/memory/memory.h"
#include "src/core/ext/transport/binder/server/binder_server.h"
#include <grpc/grpc.h>
#include "src/core/ext/transport/binder/transport/binder_transport.h"
#include "src/core/ext/transport/binder/wire_format/binder_android.h"
#include "src/core/lib/iomgr/exec_ctx.h"

@ -21,6 +21,7 @@
#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "src/core/ext/transport/binder/transport/binder_transport.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/lib/iomgr/exec_ctx.h"

@ -12,13 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/binder/transport/binder_transport.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <cstdint>
#include <memory>
#include <string>
@ -27,6 +24,9 @@
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/substitute.h"
#include <grpc/support/log.h>
#include "src/core/ext/transport/binder/transport/binder_stream.h"
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/ext/transport/binder/utils/transport_stream_receiver_impl.h"

@ -17,13 +17,13 @@
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/support/log.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <grpc/support/log.h>
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_reader.h"

@ -22,6 +22,7 @@
#include <vector>
#include "absl/status/statusor.h"
#include "src/core/ext/transport/binder/wire_format/transaction.h"
namespace grpc_binder {

@ -16,12 +16,12 @@
#include "src/core/ext/transport/binder/utils/transport_stream_receiver_impl.h"
#include <grpc/support/log.h>
#include <functional>
#include <string>
#include <utility>
#include <grpc/support/log.h>
namespace grpc_binder {
const absl::string_view

@ -24,6 +24,7 @@
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "src/core/ext/transport/binder/wire_format/binder_constants.h"
#include "src/core/lib/gprpp/orphanable.h"

@ -16,13 +16,14 @@
#ifdef GPR_SUPPORT_BINDER_TRANSPORT
#include "src/core/ext/transport/binder/wire_format/binder_android.h"
#include <grpc/support/log.h>
#include <map>
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include <grpc/support/log.h>
#include "src/core/ext/transport/binder/wire_format/binder_android.h"
#include "src/core/lib/gprpp/sync.h"
// TODO(mingcl): This function is introduced at API level 32 and is not

@ -28,6 +28,7 @@
#include <memory>
#include "absl/memory/memory.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_reader.h"

@ -17,13 +17,13 @@
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/support/log.h>
#include <string>
#include <vector>
#include "absl/strings/string_view.h"
#include <grpc/support/log.h>
namespace grpc_binder {
ABSL_CONST_INIT extern const int kFlagPrefix;

@ -16,8 +16,6 @@
#include "src/core/ext/transport/binder/wire_format/wire_reader_impl.h"
#include <grpc/support/log.h>
#include <functional>
#include <limits>
#include <string>
@ -26,6 +24,9 @@
#include "absl/memory/memory.h"
#include "absl/status/statusor.h"
#include <grpc/support/log.h>
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"

@ -22,6 +22,7 @@
#include "absl/container/flat_hash_map.h"
#include "absl/synchronization/notification.h"
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_reader.h"

@ -16,10 +16,10 @@
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include <grpc/support/log.h>
#include <utility>
#include <grpc/support/log.h>
#define RETURN_IF_ERROR(expr) \
do { \
const absl::Status status = (expr); \

@ -17,11 +17,11 @@
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/support/log.h>
#include <string>
#include <vector>
#include <grpc/support/log.h>
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/transaction.h"
#include "src/core/lib/gprpp/sync.h"

@ -18,9 +18,10 @@
#include <grpc/support/port_platform.h>
#include <grpc/support/log.h>
#include "src/core/ext/transport/chttp2/alpn/alpn.h"
#include <grpc/support/log.h>
#include "src/core/lib/gpr/useful.h"
/* in order of preference */

@ -20,10 +20,9 @@
#include "src/core/ext/transport/chttp2/client/chttp2_connector.h"
#include <grpc/grpc.h>
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>

@ -18,10 +18,9 @@
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>

@ -18,10 +18,9 @@
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>

@ -23,6 +23,7 @@
#include <inttypes.h>
#include <limits.h>
#include <string.h>
#include <vector>
#include "absl/strings/match.h"

@ -19,7 +19,6 @@
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include "src/core/ext/transport/chttp2/server/chttp2_server.h"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save