aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-31 14:15:36 -0700
committerGravatar yang-g <yangg@google.com>2015-07-31 14:15:36 -0700
commitb803313b2c39d6d0f2ed64253db89c910a8c39e2 (patch)
tree9e840d685a009b1a5afc0d06094e535a3b645bb3 /include/grpc++
parent61fcb185dd66b8634e042973be294a7c6c174da4 (diff)
parent11af9747152565c4f5bfe0acb453715521e8af7f (diff)
merge with head and resolve conflicts
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/client_context.h8
-rw-r--r--include/grpc++/server_context.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h
index bb39042bcb..10c967d85b 100644
--- a/include/grpc++/client_context.h
+++ b/include/grpc++/client_context.h
@@ -110,7 +110,7 @@ class ClientContext {
creds_ = creds;
}
- grpc_compression_algorithm get_compression_algorithm() const {
+ grpc_compression_algorithm compression_algorithm() const {
return compression_algorithm_;
}
@@ -125,8 +125,8 @@ class ClientContext {
grpc::string peer() const;
// Get and set census context
- void set_census_context(census_context* ccp) { census_context_ = ccp; }
- census_context* get_census_context() const { return census_context_; }
+ void set_census_context(struct census_context* ccp) { census_context_ = ccp; }
+ struct census_context* census_context() const { return census_context_; }
void TryCancel();
@@ -176,7 +176,7 @@ class ClientContext {
grpc::string authority_;
std::shared_ptr<Credentials> creds_;
mutable std::shared_ptr<const AuthContext> auth_context_;
- census_context* census_context_;
+ struct census_context* census_context_;
std::multimap<grpc::string, grpc::string> send_initial_metadata_;
std::multimap<grpc::string, grpc::string> recv_initial_metadata_;
std::multimap<grpc::string, grpc::string> trailing_metadata_;
diff --git a/include/grpc++/server_context.h b/include/grpc++/server_context.h
index 13bba45fe9..cf2732b33d 100644
--- a/include/grpc++/server_context.h
+++ b/include/grpc++/server_context.h
@@ -105,12 +105,12 @@ class ServerContext {
return client_metadata_;
}
- grpc_compression_level get_compression_level() const {
+ grpc_compression_level compression_level() const {
return compression_level_;
}
void set_compression_level(grpc_compression_level level);
- grpc_compression_algorithm get_compression_algorithm() const {
+ grpc_compression_algorithm compression_algorithm() const {
return compression_algorithm_;
}
void set_compression_algorithm(grpc_compression_algorithm algorithm);