summaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h
diff options
context:
space:
mode:
authordvshkurko <[email protected]>2022-02-10 16:45:51 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:51 +0300
commit321ee9bce31ec6e238be26dbcbe539cffa2c3309 (patch)
tree14407a2757cbf29eb97e266b7f07e851f971000c /contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h
parent2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h')
-rw-r--r--contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h b/contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h
index 78be1f7597e..ed995a8ce40 100644
--- a/contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h
+++ b/contrib/libs/grpc/include/grpcpp/impl/codegen/client_interceptor.h
@@ -28,7 +28,7 @@
namespace grpc {
-class Channel;
+class Channel;
class ClientContext;
namespace internal {
@@ -76,7 +76,7 @@ class ClientRpcInfo {
UNKNOWN // UNKNOWN is not API and will be removed later
};
- ~ClientRpcInfo() {}
+ ~ClientRpcInfo() {}
// Delete copy constructor but allow default move constructor
ClientRpcInfo(const ClientRpcInfo&) = delete;
@@ -141,8 +141,8 @@ class ClientRpcInfo {
// No interceptors to register
return;
}
- // NOTE: The following is not a range-based for loop because it will only
- // iterate over a portion of the creators vector.
+ // NOTE: The following is not a range-based for loop because it will only
+ // iterate over a portion of the creators vector.
for (auto it = creators.begin() + interceptor_pos; it != creators.end();
++it) {
auto* interceptor = (*it)->CreateClientInterceptor(this);
@@ -174,16 +174,16 @@ class ClientRpcInfo {
// PLEASE DO NOT USE THIS. ALWAYS PREFER PER CHANNEL INTERCEPTORS OVER A GLOBAL
// INTERCEPTOR. IF USAGE IS ABSOLUTELY NECESSARY, PLEASE READ THE SAFETY NOTES.
// Registers a global client interceptor factory object, which is used for all
-// RPCs made in this process. The application is responsible for maintaining the
-// life of the object while gRPC operations are in progress. The global
-// interceptor factory should only be registered once at the start of the
-// process before any gRPC operations have begun.
+// RPCs made in this process. The application is responsible for maintaining the
+// life of the object while gRPC operations are in progress. The global
+// interceptor factory should only be registered once at the start of the
+// process before any gRPC operations have begun.
void RegisterGlobalClientInterceptorFactory(
ClientInterceptorFactoryInterface* factory);
-// For testing purposes only
-void TestOnlyResetGlobalClientInterceptorFactory();
-
+// For testing purposes only
+void TestOnlyResetGlobalClientInterceptorFactory();
+
} // namespace experimental
} // namespace grpc