aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/client_config/lb_policy.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-07 13:00:14 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-07 13:00:14 -0700
commitc97065da86ea140a86815575ce0f22d1ef45d576 (patch)
tree83686125dd2f3eaf055f5bb7e977222f22d14dfd /src/core/ext/client_config/lb_policy.h
parent2888bd58b00b30429470652b05bc2076785e8a99 (diff)
parentd30d4e279c4a63effaa6e912fc00bd4ad96054c7 (diff)
Merge github.com:grpc/grpc into error
Diffstat (limited to 'src/core/ext/client_config/lb_policy.h')
-rw-r--r--src/core/ext/client_config/lb_policy.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ext/client_config/lb_policy.h b/src/core/ext/client_config/lb_policy.h
index 13b9abc474..3cfd041d3a 100644
--- a/src/core/ext/client_config/lb_policy.h
+++ b/src/core/ext/client_config/lb_policy.h
@@ -35,6 +35,7 @@
#define GRPC_CORE_EXT_CLIENT_CONFIG_LB_POLICY_H
#include "src/core/ext/client_config/subchannel.h"
+#include "src/core/lib/iomgr/polling_entity.h"
#include "src/core/lib/transport/connectivity_state.h"
/** A load balancing policy: specified by a vtable and a struct (which
@@ -59,7 +60,8 @@ struct grpc_lb_policy_vtable {
/** implement grpc_lb_policy_pick */
int (*pick)(grpc_exec_ctx *exec_ctx, grpc_lb_policy *policy,
- grpc_pollset *pollset, grpc_metadata_batch *initial_metadata,
+ grpc_polling_entity *pollent,
+ grpc_metadata_batch *initial_metadata,
uint32_t initial_metadata_flags,
grpc_connected_subchannel **target, grpc_closure *on_complete);
void (*cancel_pick)(grpc_exec_ctx *exec_ctx, grpc_lb_policy *policy,
@@ -125,7 +127,7 @@ void grpc_lb_policy_init(grpc_lb_policy *policy,
\a target.
Picking can be asynchronous. Any IO should be done under \a pollset. */
int grpc_lb_policy_pick(grpc_exec_ctx *exec_ctx, grpc_lb_policy *policy,
- grpc_pollset *pollset,
+ grpc_polling_entity *pollent,
grpc_metadata_batch *initial_metadata,
uint32_t initial_metadata_flags,
grpc_connected_subchannel **target,