Remove `include/grpcpp/impl/codegen/call_hook.h` (#30967)

pull/30991/head
Cheng-Yu Chung 3 years ago committed by GitHub
parent d8f98fb1a7
commit d07224a13e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      BUILD
  2. 2
      CMakeLists.txt
  3. 2
      build_autogenerated.yaml
  4. 1
      gRPC-C++.podspec
  5. 39
      include/grpcpp/impl/call_hook.h
  6. 18
      include/grpcpp/impl/codegen/call_hook.h
  7. 1
      tools/doxygen/Doxyfile.c++
  8. 1
      tools/doxygen/Doxyfile.c++.internal

@ -328,6 +328,7 @@ GRPCXX_PUBLIC_HDRS = [
"include/grpcpp/generic/generic_stub.h",
"include/grpcpp/grpcpp.h",
"include/grpcpp/health_check_service_interface.h",
"include/grpcpp/impl/call_hook.h",
"include/grpcpp/impl/call.h",
"include/grpcpp/impl/channel_argument_option.h",
"include/grpcpp/impl/client_unary_call.h",

2
CMakeLists.txt generated

@ -3298,6 +3298,7 @@ foreach(_hdr
include/grpcpp/grpcpp.h
include/grpcpp/health_check_service_interface.h
include/grpcpp/impl/call.h
include/grpcpp/impl/call_hook.h
include/grpcpp/impl/channel_argument_option.h
include/grpcpp/impl/client_unary_call.h
include/grpcpp/impl/codegen/async_generic_service.h
@ -3968,6 +3969,7 @@ foreach(_hdr
include/grpcpp/grpcpp.h
include/grpcpp/health_check_service_interface.h
include/grpcpp/impl/call.h
include/grpcpp/impl/call_hook.h
include/grpcpp/impl/channel_argument_option.h
include/grpcpp/impl/client_unary_call.h
include/grpcpp/impl/codegen/async_generic_service.h

@ -2631,6 +2631,7 @@ libs:
- include/grpcpp/grpcpp.h
- include/grpcpp/health_check_service_interface.h
- include/grpcpp/impl/call.h
- include/grpcpp/impl/call_hook.h
- include/grpcpp/impl/channel_argument_option.h
- include/grpcpp/impl/client_unary_call.h
- include/grpcpp/impl/codegen/async_generic_service.h
@ -3045,6 +3046,7 @@ libs:
- include/grpcpp/grpcpp.h
- include/grpcpp/health_check_service_interface.h
- include/grpcpp/impl/call.h
- include/grpcpp/impl/call_hook.h
- include/grpcpp/impl/channel_argument_option.h
- include/grpcpp/impl/client_unary_call.h
- include/grpcpp/impl/codegen/async_generic_service.h

1
gRPC-C++.podspec generated

@ -93,6 +93,7 @@ Pod::Spec.new do |s|
'include/grpcpp/grpcpp.h',
'include/grpcpp/health_check_service_interface.h',
'include/grpcpp/impl/call.h',
'include/grpcpp/impl/call_hook.h',
'include/grpcpp/impl/channel_argument_option.h',
'include/grpcpp/impl/client_unary_call.h',
'include/grpcpp/impl/codegen/async_generic_service.h',

@ -0,0 +1,39 @@
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPCPP_IMPL_CALL_HOOK_H
#define GRPCPP_IMPL_CALL_HOOK_H
namespace grpc {
namespace internal {
class CallOpSetInterface;
class Call;
/// This is an interface that Channel and Server implement to allow them to hook
/// performing ops.
class CallHook {
public:
virtual ~CallHook() {}
virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
};
} // namespace internal
} // namespace grpc
#endif // GRPCPP_IMPL_CALL_HOOK_H

@ -21,21 +21,7 @@
// IWYU pragma: private
namespace grpc {
namespace internal {
class CallOpSetInterface;
class Call;
/// This is an interface that Channel and Server implement to allow them to hook
/// performing ops.
class CallHook {
public:
virtual ~CallHook() {}
virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
};
} // namespace internal
} // namespace grpc
/// TODO(chengyuc): Remove this file after solving compatibility.
#include <grpcpp/impl/call_hook.h>
#endif // GRPCPP_IMPL_CODEGEN_CALL_HOOK_H

@ -955,6 +955,7 @@ include/grpcpp/generic/generic_stub.h \
include/grpcpp/grpcpp.h \
include/grpcpp/health_check_service_interface.h \
include/grpcpp/impl/call.h \
include/grpcpp/impl/call_hook.h \
include/grpcpp/impl/channel_argument_option.h \
include/grpcpp/impl/client_unary_call.h \
include/grpcpp/impl/codegen/async_generic_service.h \

@ -955,6 +955,7 @@ include/grpcpp/generic/generic_stub.h \
include/grpcpp/grpcpp.h \
include/grpcpp/health_check_service_interface.h \
include/grpcpp/impl/call.h \
include/grpcpp/impl/call_hook.h \
include/grpcpp/impl/channel_argument_option.h \
include/grpcpp/impl/client_unary_call.h \
include/grpcpp/impl/codegen/async_generic_service.h \

Loading…
Cancel
Save