diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
commit | 81eddc8c0b55990194e112b02d127b87d54164a9 (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/grpc/src/cpp/client/secure_credentials.h | |
parent | 397cbe258b9e064f49c4ca575279f02f39fef76e (diff) | |
download | ydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc/src/cpp/client/secure_credentials.h')
-rw-r--r-- | contrib/libs/grpc/src/cpp/client/secure_credentials.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/libs/grpc/src/cpp/client/secure_credentials.h b/contrib/libs/grpc/src/cpp/client/secure_credentials.h index 7c02e22852..4fc79346bf 100644 --- a/contrib/libs/grpc/src/cpp/client/secure_credentials.h +++ b/contrib/libs/grpc/src/cpp/client/secure_credentials.h @@ -25,11 +25,11 @@ #include <grpcpp/security/tls_credentials_options.h> #include <grpcpp/support/config.h> -#include "y_absl/strings/str_cat.h" +#include "y_absl/strings/str_cat.h" #include "src/core/lib/security/credentials/credentials.h" #include "src/cpp/server/thread_pool_interface.h" -namespace grpc { +namespace grpc { class Channel; @@ -42,13 +42,13 @@ class SecureChannelCredentials final : public ChannelCredentials { grpc_channel_credentials* GetRawCreds() { return c_creds_; } std::shared_ptr<Channel> CreateChannelImpl( - const TString& target, const ChannelArguments& args) override; + const TString& target, const ChannelArguments& args) override; SecureChannelCredentials* AsSecureCredentials() override { return this; } private: std::shared_ptr<Channel> CreateChannelWithInterceptors( - const TString& target, const ChannelArguments& args, + const TString& target, const ChannelArguments& args, std::vector<std::unique_ptr< ::grpc::experimental::ClientInterceptorFactoryInterface>> interceptor_creators) override; @@ -65,10 +65,10 @@ class SecureCallCredentials final : public CallCredentials { bool ApplyToCall(grpc_call* call) override; SecureCallCredentials* AsSecureCredentials() override { return this; } - TString DebugString() override { - return y_absl::StrCat("SecureCallCredentials{", - TString(c_creds_->debug_string()), "}"); - } + TString DebugString() override { + return y_absl::StrCat("SecureCallCredentials{", + TString(c_creds_->debug_string()), "}"); + } private: grpc_call_credentials* const c_creds_; @@ -93,7 +93,7 @@ class MetadataCredentialsPluginWrapper final : private GrpcLibraryCodegen { grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX], size_t* num_creds_md, grpc_status_code* status, const char** error_details); - static char* DebugString(void* wrapper); + static char* DebugString(void* wrapper); explicit MetadataCredentialsPluginWrapper( std::unique_ptr<MetadataCredentialsPlugin> plugin); |