diff options
author | Mark D. Roth <roth@google.com> | 2018-07-11 11:46:11 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2018-07-11 11:46:11 -0700 |
commit | 4f0dec7fcc7504462d3c75022e25ecc4102ea851 (patch) | |
tree | ba23f63b9c47cbc0f5eda72cbee68db3caf22dab /src/core/ext/filters/client_channel/lb_policy_factory.h | |
parent | a789ac30673f6e56960329e802bc199d5a9ac760 (diff) |
Refactor resolver result callback.
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy_factory.h')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy_factory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy_factory.h b/src/core/ext/filters/client_channel/lb_policy_factory.h index 6440258158..c07792d8a7 100644 --- a/src/core/ext/filters/client_channel/lb_policy_factory.h +++ b/src/core/ext/filters/client_channel/lb_policy_factory.h @@ -101,6 +101,10 @@ grpc_arg grpc_lb_addresses_create_channel_arg( grpc_lb_addresses* grpc_lb_addresses_find_channel_arg( const grpc_channel_args* channel_args); +// Returns true if addresses contains at least one balancer address. +bool grpc_lb_addresses_contains_balancer_address( + const grpc_lb_addresses& addresses); + // // LB policy factory // |