aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/lb_policy_factory.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-03-09 14:34:58 -0800
committerGravatar GitHub <noreply@github.com>2018-03-09 14:34:58 -0800
commite63ab97f1b3cb398a0890b2100260970e889baeb (patch)
tree5a450dfe8bd9c93b1974fe9e1e893e1c890623f0 /src/core/ext/filters/client_channel/lb_policy_factory.cc
parentea37b0c8db16032e0017135ab391b736484ddedb (diff)
parentc50ded274c80d276a614763f054ce5efb2165351 (diff)
Merge branch 'master' into socklent
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy_factory.cc')
-rw-r--r--src/core/ext/filters/client_channel/lb_policy_factory.cc16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy_factory.cc b/src/core/ext/filters/client_channel/lb_policy_factory.cc
index 4c367ce3c5..7c8cba55b7 100644
--- a/src/core/ext/filters/client_channel/lb_policy_factory.cc
+++ b/src/core/ext/filters/client_channel/lb_policy_factory.cc
@@ -16,6 +16,8 @@
*
*/
+#include <grpc/support/port_platform.h>
+
#include <string.h>
#include <grpc/support/alloc.h>
@@ -151,17 +153,3 @@ grpc_lb_addresses* grpc_lb_addresses_find_channel_arg(
return nullptr;
return static_cast<grpc_lb_addresses*>(lb_addresses_arg->value.pointer.p);
}
-
-void grpc_lb_policy_factory_ref(grpc_lb_policy_factory* factory) {
- factory->vtable->ref(factory);
-}
-
-void grpc_lb_policy_factory_unref(grpc_lb_policy_factory* factory) {
- factory->vtable->unref(factory);
-}
-
-grpc_lb_policy* grpc_lb_policy_factory_create_lb_policy(
- grpc_lb_policy_factory* factory, grpc_lb_policy_args* args) {
- if (factory == nullptr) return nullptr;
- return factory->vtable->create_lb_policy(factory, args);
-}