aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-01-18 11:24:48 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-01-18 11:24:48 -0800
commit752f17feec4b7356d2ac6b85887721aed45a22d0 (patch)
treed1bbe2a7bbdd624bd21e87fffcfcc250b76b743b /src/core
parentedff74cc8f735738bb630d876536cbff338ea003 (diff)
Remove references to proxy mapper factory.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ext/client_channel/proxy_mapper_registry.c3
-rw-r--r--src/core/ext/client_channel/proxy_mapper_registry.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/src/core/ext/client_channel/proxy_mapper_registry.c b/src/core/ext/client_channel/proxy_mapper_registry.c
index 66e5ce2c79..5ce2679fc8 100644
--- a/src/core/ext/client_channel/proxy_mapper_registry.c
+++ b/src/core/ext/client_channel/proxy_mapper_registry.c
@@ -98,8 +98,7 @@ void grpc_proxy_mapper_registry_shutdown(grpc_exec_ctx* exec_ctx) {
grpc_proxy_mapper_list_destroy(exec_ctx, &g_proxy_mapper_list);
}
-void grpc_proxy_mapper_factory_register(bool at_start,
- grpc_proxy_mapper* mapper) {
+void grpc_proxy_mapper_register(bool at_start, grpc_proxy_mapper* mapper) {
grpc_proxy_mapper_list_register(&g_proxy_mapper_list, at_start, mapper);
}
diff --git a/src/core/ext/client_channel/proxy_mapper_registry.h b/src/core/ext/client_channel/proxy_mapper_registry.h
index 4a4840d3b1..655348c710 100644
--- a/src/core/ext/client_channel/proxy_mapper_registry.h
+++ b/src/core/ext/client_channel/proxy_mapper_registry.h
@@ -40,10 +40,9 @@ void grpc_proxy_mapper_registry_init();
void grpc_proxy_mapper_registry_shutdown(grpc_exec_ctx* exec_ctx);
/// Registers a new proxy mapper. Takes ownership.
-/// If \a at_start is true, the new factory will be at the beginning of
+/// If \a at_start is true, the new mapper will be at the beginning of
/// the list. Otherwise, it will be added to the end.
-void grpc_proxy_mapper_factory_register(bool at_start,
- grpc_proxy_mapper* mapper);
+void grpc_proxy_mapper_register(bool at_start, grpc_proxy_mapper* mapper);
bool grpc_proxy_mappers_map(grpc_exec_ctx* exec_ctx,
const grpc_resolved_address* address,