diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/client_channel/proxy_mapper_registry.c | 3 | ||||
-rw-r--r-- | src/core/ext/client_channel/proxy_mapper_registry.h | 5 |
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, |