Remove `include/grpcpp/impl/codegen/async_stream.h` (#30941)

* Remove `include/grpcpp/impl/codegen/async_stream.h`

* Fix

* Fix

* Update
pull/30910/head
Cheng-Yu Chung 2 years ago committed by GitHub
parent 74c0d6fe3f
commit b765b06155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1112
      include/grpcpp/impl/codegen/async_stream.h
  2. 1111
      include/grpcpp/support/async_stream.h
  3. 6
      src/compiler/cpp_generator.cc
  4. 2
      test/core/tsi/alts/fake_handshaker/fake_handshaker_server.cc
  5. 2
      test/cpp/codegen/compiler_test_golden
  6. 2
      test/cpp/codegen/compiler_test_mock_golden

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -138,7 +138,7 @@ std::string GetHeaderIncludes(grpc_generator::File* file,
static const char* headers_strs[] = {
"functional",
"grpcpp/generic/async_generic_service.h",
"grpcpp/impl/codegen/async_stream.h",
"grpcpp/support/async_stream.h",
"grpcpp/support/async_unary_call.h",
"grpcpp/impl/codegen/client_callback.h",
"grpcpp/impl/codegen/client_context.h",
@ -1648,7 +1648,7 @@ std::string GetSourceIncludes(grpc_generator::File* file,
std::map<std::string, std::string> vars;
static const char* headers_strs[] = {
"functional",
"grpcpp/impl/codegen/async_stream.h",
"grpcpp/support/async_stream.h",
"grpcpp/support/async_unary_call.h",
"grpcpp/impl/codegen/channel_interface.h",
"grpcpp/impl/codegen/client_unary_call.h",
@ -2184,7 +2184,7 @@ std::string GetMockIncludes(grpc_generator::File* file,
std::map<std::string, std::string> vars;
static const char* headers_strs[] = {
"grpcpp/impl/codegen/async_stream.h",
"grpcpp/support/async_stream.h",
"grpcpp/impl/codegen/sync_stream.h",
};
std::vector<std::string> headers(headers_strs, array_end(headers_strs));

@ -23,12 +23,12 @@
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/sync.h>
#include <grpcpp/security/server_credentials.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h>
#include <grpcpp/support/async_stream.h>
#include "test/core/tsi/alts/fake_handshaker/handshaker.grpc.pb.h"
#include "test/core/tsi/alts/fake_handshaker/handshaker.pb.h"

@ -28,7 +28,7 @@
#include <functional>
#include <grpcpp/generic/async_generic_service.h>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/support/async_stream.h>
#include <grpcpp/support/async_unary_call.h>
#include <grpcpp/impl/codegen/client_callback.h>
#include <grpcpp/impl/codegen/client_context.h>

@ -5,7 +5,7 @@
#include "src/proto/grpc/testing/compiler_test.pb.h"
#include "src/proto/grpc/testing/compiler_test.grpc.pb.h"
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/support/async_stream.h>
#include <grpcpp/impl/codegen/sync_stream.h>
#include <gmock/gmock.h>
namespace grpc {

Loading…
Cancel
Save