diff options
author | David Garcia Quintas <dgq@google.com> | 2016-01-27 18:41:26 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-01-27 18:41:26 -0800 |
commit | e1300deb87b5fca2b4361a753d0bd4d19b078ea4 (patch) | |
tree | 62016bec7621d6f1650472c20d56fdbf713f077c /include/grpc++/security | |
parent | 6a48405ed003a416bd574d3f480b20e3dee9e9df (diff) |
After GrpcLibrary refactoring. Compiles and passes. WIP still
Diffstat (limited to 'include/grpc++/security')
-rw-r--r-- | include/grpc++/security/credentials.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/grpc++/security/credentials.h b/include/grpc++/security/credentials.h index 75945fd8e8..4d64b5e227 100644 --- a/include/grpc++/security/credentials.h +++ b/include/grpc++/security/credentials.h @@ -37,12 +37,13 @@ #include <map> #include <memory> -#include <grpc++/impl/grpc_library.h> +#include <grpc++/impl/codegen/grpc_library.h> #include <grpc++/security/auth_context.h> -#include <grpc++/support/config.h> #include <grpc++/support/status.h> #include <grpc++/support/string_ref.h> +struct grpc_call; + namespace grpc { class ChannelArguments; class Channel; @@ -56,9 +57,10 @@ class SecureCallCredentials; /// for all the calls on that channel. /// /// \see http://www.grpc.io/docs/guides/auth.html -class ChannelCredentials : public GrpcLibrary { +class ChannelCredentials : private GrpcLibrary { public: - ~ChannelCredentials() GRPC_OVERRIDE; + ChannelCredentials(); + ~ChannelCredentials(); protected: friend std::shared_ptr<ChannelCredentials> CompositeChannelCredentials( @@ -81,9 +83,10 @@ class ChannelCredentials : public GrpcLibrary { /// authenticate with a server for a given call on a channel. /// /// \see http://www.grpc.io/docs/guides/auth.html -class CallCredentials : public GrpcLibrary { +class CallCredentials { public: - ~CallCredentials() GRPC_OVERRIDE; + CallCredentials(); + ~CallCredentials(); /// Apply this instance's credentials to \a call. virtual bool ApplyToCall(grpc_call* call) = 0; |