diff options
author | Yang Gao <yangg@google.com> | 2016-10-24 15:44:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-24 15:44:55 -0700 |
commit | 3cb89bcf4bf5f010d861e01d88eaee046221fbd4 (patch) | |
tree | 6f52a4ba94ad58b40ad5a0f2ab17995ed7dd3759 /include | |
parent | 0ac60ca9d9b2541c058354e1b331234064493521 (diff) | |
parent | 07ecd9d08cb712620cf0c378e9c3236b70cfd980 (diff) |
Merge pull request #8281 from gcasto/cronet_cpp_api
Add C++ Api For Cronet
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/security/credentials.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/security/credentials.h b/include/grpc++/security/credentials.h index 5439244b02..59861b78d8 100644 --- a/include/grpc++/security/credentials.h +++ b/include/grpc++/security/credentials.h @@ -201,6 +201,9 @@ std::shared_ptr<CallCredentials> CompositeCallCredentials( /// Credentials for an unencrypted, unauthenticated channel std::shared_ptr<ChannelCredentials> InsecureChannelCredentials(); +/// Credentials for a channel using Cronet. +std::shared_ptr<ChannelCredentials> CronetChannelCredentials(void* engine); + // User defined metadata credentials. class MetadataCredentialsPlugin { public: |