|  | @@ -36,7 +36,6 @@
 | 
											
												
													
														|  |  #include "src/core/lib/iomgr/error.h"
 |  |  #include "src/core/lib/iomgr/error.h"
 | 
											
												
													
														|  |  #include "src/core/lib/slice/slice_internal.h"
 |  |  #include "src/core/lib/slice/slice_internal.h"
 | 
											
												
													
														|  |  #include "src/core/lib/surface/channel.h"
 |  |  #include "src/core/lib/surface/channel.h"
 | 
											
												
													
														|  | -#include "src/core/lib/transport/connectivity_state.h"
 |  | 
 | 
											
												
													
														|  |  #include "src/core/lib/transport/error_utils.h"
 |  |  #include "src/core/lib/transport/error_utils.h"
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  namespace grpc_core {
 |  |  namespace grpc_core {
 | 
											
										
											
												
													
														|  | @@ -109,9 +108,7 @@ void ChannelNode::RecordCallStarted() {
 | 
											
												
													
														|  |                             (gpr_atm)ExecCtx::Get()->Now());
 |  |                             (gpr_atm)ExecCtx::Get()->Now());
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -bool ChannelNode::GetConnectivityState(grpc_connectivity_state* state) {
 |  | 
 | 
											
												
													
														|  | -  return false;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | 
 |  | +void ChannelNode::PopulateConnectivityState(grpc_json* json) {}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  char* ChannelNode::RenderJSON() {
 |  |  char* ChannelNode::RenderJSON() {
 | 
											
												
													
														|  |    // We need to track these three json objects to build our object
 |  |    // We need to track these three json objects to build our object
 | 
											
										
											
												
													
														|  | @@ -132,18 +129,8 @@ char* ChannelNode::RenderJSON() {
 | 
											
												
													
														|  |                                             GRPC_JSON_OBJECT, false);
 |  |                                             GRPC_JSON_OBJECT, false);
 | 
											
												
													
														|  |    json = data;
 |  |    json = data;
 | 
											
												
													
														|  |    json_iterator = nullptr;
 |  |    json_iterator = nullptr;
 | 
											
												
													
														|  | -  // create and fill the connectivity state child.
 |  | 
 | 
											
												
													
														|  | -  grpc_connectivity_state connectivity_state;
 |  | 
 | 
											
												
													
														|  | -  if (GetConnectivityState(&connectivity_state)) {
 |  | 
 | 
											
												
													
														|  | -    json_iterator = grpc_json_create_child(json_iterator, json, "state",
 |  | 
 | 
											
												
													
														|  | -                                           nullptr, GRPC_JSON_OBJECT, false);
 |  | 
 | 
											
												
													
														|  | -    json = json_iterator;
 |  | 
 | 
											
												
													
														|  | -    grpc_json_create_child(nullptr, json, "state",
 |  | 
 | 
											
												
													
														|  | -                           grpc_connectivity_state_name(connectivity_state),
 |  | 
 | 
											
												
													
														|  | -                           GRPC_JSON_STRING, false);
 |  | 
 | 
											
												
													
														|  | -    // reset the parent to be the data object.
 |  | 
 | 
											
												
													
														|  | -    json = data;
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  PopulateConnectivityState(json);
 | 
											
												
													
														|  |    json_iterator = grpc_json_create_child(
 |  |    json_iterator = grpc_json_create_child(
 | 
											
												
													
														|  |        json_iterator, json, "target", target_.get(), GRPC_JSON_STRING, false);
 |  |        json_iterator, json, "target", target_.get(), GRPC_JSON_STRING, false);
 | 
											
												
													
														|  |    // fill in the channel trace if applicable
 |  |    // fill in the channel trace if applicable
 |