aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-11-02 16:00:52 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-11-02 16:00:52 -0700
commit739a93e47fcf985113293be554e79b3d03c9edaa (patch)
tree9f4d737eccb8ff681bf69e0a64d898b2d8433d70 /src/cpp
parent0109d16ac0158b6ab60a8ea5c94707c639736414 (diff)
parentea14e0e2a0ad698855d052e2fe8ba0b7e8114c57 (diff)
Merge branch 'master' into turn_it_to_11
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/common/channel_arguments.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpp/common/channel_arguments.cc b/src/cpp/common/channel_arguments.cc
index d136d49c89..c6cad8eeae 100644
--- a/src/cpp/common/channel_arguments.cc
+++ b/src/cpp/common/channel_arguments.cc
@@ -121,6 +121,11 @@ void ChannelArguments::SetResourceQuota(
grpc_resource_quota_arg_vtable());
}
+void ChannelArguments::SetLoadBalancingPolicyName(
+ const grpc::string& lb_policy_name) {
+ SetString(GRPC_ARG_LB_POLICY_NAME, lb_policy_name);
+}
+
void ChannelArguments::SetInt(const grpc::string& key, int value) {
grpc_arg arg;
arg.type = GRPC_ARG_INTEGER;