aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-08-23 20:39:49 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-08-23 20:39:49 +0200
commit455c5d45f04fea460d2a68ce18e3025ee8f80134 (patch)
tree3c71cec1edebbe69cb6f4c46521958745bf7db2f /src
parente3e17d3f6bf3ecb402486553cd1a7f99e6c9ecc2 (diff)
Untangling secure and unsecure.
Diffstat (limited to 'src')
-rw-r--r--src/cpp/common/channel_filter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cpp/common/channel_filter.h b/src/cpp/common/channel_filter.h
index 3fbacd824c..528e29b27f 100644
--- a/src/cpp/common/channel_filter.h
+++ b/src/cpp/common/channel_filter.h
@@ -43,7 +43,6 @@
#include <vector>
#include "src/core/lib/channel/channel_stack.h"
-#include "src/core/lib/security/context/security_context.h"
#include "src/core/lib/surface/channel_init.h"
#include "src/core/lib/transport/metadata_batch.h"
@@ -56,6 +55,11 @@
/// "name-of-filter", GRPC_SERVER_CHANNEL, INT_MAX, nullptr);
/// \endcode
+/// Forward declaration to avoid including the file
+/// "src/core/lib/security/context/security_context.h"
+struct grpc_client_security_context;
+struct grpc_server_security_context;
+
namespace grpc {
/// A C++ wrapper for the \c grpc_metadata_batch struct.