aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/chttp2/internal.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-06-29 09:37:52 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-06-29 09:37:52 -0700
commit08a1cf8f4fd747ab331393916bd5d9cc7f4804c1 (patch)
tree51f5d3fcd64e0552c0d6c74ee50fd8e979e9a0d3 /src/core/transport/chttp2/internal.h
parent4d74056b0806f68397111dc2b16f56386339b8e0 (diff)
Use connectivity state tracking code in chttp2 transport
Diffstat (limited to 'src/core/transport/chttp2/internal.h')
-rw-r--r--src/core/transport/chttp2/internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/transport/chttp2/internal.h b/src/core/transport/chttp2/internal.h
index 93235aef55..7e2e75f97d 100644
--- a/src/core/transport/chttp2/internal.h
+++ b/src/core/transport/chttp2/internal.h
@@ -34,7 +34,6 @@
#ifndef GRPC_INTERNAL_CORE_CHTTP2_INTERNAL_H
#define GRPC_INTERNAL_CORE_CHTTP2_INTERNAL_H
-#include "src/core/transport/transport_impl.h"
#include "src/core/iomgr/endpoint.h"
#include "src/core/transport/chttp2/frame.h"
#include "src/core/transport/chttp2/frame_data.h"
@@ -47,6 +46,8 @@
#include "src/core/transport/chttp2/incoming_metadata.h"
#include "src/core/transport/chttp2/stream_encoder.h"
#include "src/core/transport/chttp2/stream_map.h"
+#include "src/core/transport/connectivity_state.h"
+#include "src/core/transport/transport_impl.h"
typedef struct grpc_chttp2_transport grpc_chttp2_transport;
typedef struct grpc_chttp2_stream grpc_chttp2_stream;
@@ -335,8 +336,7 @@ struct grpc_chttp2_transport {
void *accept_stream_user_data;
/** connectivity tracking */
- grpc_iomgr_closure *on_connectivity_changed;
- grpc_connectivity_state *connectivity;
+ grpc_connectivity_state_tracker state_tracker;
} channel_callback;
};