diff options
Diffstat (limited to 'include/grpc++')
-rw-r--r-- | include/grpc++/client_context.h | 10 | ||||
-rw-r--r-- | include/grpc++/server_context.h | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h index 5c6f432c9a..9d64715803 100644 --- a/include/grpc++/client_context.h +++ b/include/grpc++/client_context.h @@ -37,7 +37,6 @@ /// side. /// - Control call settings such as compression and authentication. /// - Initial and trailing metadata coming from the server. -/// - Get performance metrics (ie, census). /// /// Context settings are only relevant to the call they are invoked with, that /// is to say, they aren't sticky. Some of these settings, such as the @@ -64,8 +63,6 @@ #include <grpc/support/log.h> #include <grpc/support/time.h> -struct census_context; - namespace grpc { class Channel; @@ -268,12 +265,6 @@ class ClientContext { /// \return The call's peer URI. grpc::string peer() const; - /// Get and set census context - void set_census_context(struct census_context* ccp) { census_context_ = ccp; } - struct census_context* census_context() const { - return census_context_; - } - /// Send a best-effort out-of-band cancel. The call could be in any stage. /// e.g. if it is already finished, it may still return success. /// @@ -323,7 +314,6 @@ class ClientContext { grpc::string authority_; std::shared_ptr<CallCredentials> creds_; mutable std::shared_ptr<const AuthContext> auth_context_; - struct census_context* census_context_; std::multimap<grpc::string, grpc::string> send_initial_metadata_; std::multimap<grpc::string_ref, grpc::string_ref> recv_initial_metadata_; std::multimap<grpc::string_ref, grpc::string_ref> trailing_metadata_; diff --git a/include/grpc++/server_context.h b/include/grpc++/server_context.h index 85f384d477..de4af7d1c2 100644 --- a/include/grpc++/server_context.h +++ b/include/grpc++/server_context.h @@ -47,7 +47,6 @@ struct gpr_timespec; struct grpc_metadata; struct grpc_call; -struct census_context; namespace grpc { @@ -126,8 +125,6 @@ class ServerContext { // functionality. Instead, use auth_context. grpc::string peer() const; - const struct census_context* census_context() const; - // Async only. Has to be called before the rpc starts. // Returns the tag in completion queue when the rpc finishes. // IsCancelled() can then be called to check whether the rpc was cancelled. |