summaryrefslogtreecommitdiff
path: root/grpc/src/core/lib/channel/handshaker_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/src/core/lib/channel/handshaker_factory.h')
-rw-r--r--grpc/src/core/lib/channel/handshaker_factory.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/grpc/src/core/lib/channel/handshaker_factory.h b/grpc/src/core/lib/channel/handshaker_factory.h
index 520e5e4b..0d55a6d7 100644
--- a/grpc/src/core/lib/channel/handshaker_factory.h
+++ b/grpc/src/core/lib/channel/handshaker_factory.h
@@ -23,12 +23,20 @@
#include <grpc/impl/codegen/grpc_types.h>
-#include "src/core/lib/channel/handshaker.h"
-
// A handshaker factory is used to create handshakers.
+// TODO(ctiller): grpc_pollset_set and HandshakeManager are forward declared in
+// this file. grpc_pollset_set ought to be eliminated when EventEngine lands IO
+// support. At the same time, we ought to be able to include handshake_manager.h
+// here and eliminate the HandshakeManager dependency - we cannot right now
+// because HandshakeManager names too many iomgr types.
+
+typedef struct grpc_pollset_set grpc_pollset_set;
+
namespace grpc_core {
+class HandshakeManager;
+
class HandshakerFactory {
public:
virtual void AddHandshakers(const grpc_channel_args* args,