aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-18 10:29:04 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-18 10:29:04 -0800
commitb28c7e8710638b362e5bfdd7dd81a45241c376e8 (patch)
treefb8bc4e3e6c705e63bc1a4f441f5c1a624f29558 /include/grpc++/support
parentf2752ebb3b81cbad4e3b9ac0df5d7021c4659243 (diff)
parent91936b32f67c26f7189b7081bcb53e46ea8ba641 (diff)
Merge github.com:grpc/grpc into slice_with_exec_ctx
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/channel_arguments.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h
index 220b6ef1dd..d43f7c61bd 100644
--- a/include/grpc++/support/channel_arguments.h
+++ b/include/grpc++/support/channel_arguments.h
@@ -93,6 +93,10 @@ class ChannelArguments {
/// grpclb LB policy will be used, regardless of what is specified here.
void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name);
+ /// Set service config in JSON form.
+ /// Primarily meant for use in unit tests.
+ void SetServiceConfigJSON(const grpc::string& service_config_json);
+
// Generic channel argument setters. Only for advanced use cases.
/// Set an integer argument \a value under \a key.
void SetInt(const grpc::string& key, int value);