Skip to content
Snippets Groups Projects
Commit 2b2b3458 authored by Julien Boeuf's avatar Julien Boeuf
Browse files

Addressing feedback.

parent 6b93d46b
No related branches found
No related tags found
No related merge requests found
...@@ -309,9 +309,7 @@ class ClientContext { ...@@ -309,9 +309,7 @@ class ClientContext {
// Should be used for framework-level extensions only. // Should be used for framework-level extensions only.
// Applications never need to call this method. // Applications never need to call this method.
grpc_call* c_call() const { grpc_call* c_call() { return call_; }
return call_;
}
private: private:
// Disallow copy and assign. // Disallow copy and assign.
......
...@@ -168,9 +168,7 @@ class ServerContext { ...@@ -168,9 +168,7 @@ class ServerContext {
// Should be used for framework-level extensions only. // Should be used for framework-level extensions only.
// Applications never need to call this method. // Applications never need to call this method.
grpc_call* c_call() const { grpc_call* c_call() { return call_; }
return call_;
}
private: private:
friend class ::grpc::testing::InteropServerContextInspector; friend class ::grpc::testing::InteropServerContextInspector;
......
...@@ -84,6 +84,11 @@ void grpc_auth_context_unref(grpc_auth_context *policy); ...@@ -84,6 +84,11 @@ void grpc_auth_context_unref(grpc_auth_context *policy);
void grpc_auth_property_reset(grpc_auth_property *property); void grpc_auth_property_reset(grpc_auth_property *property);
/* --- grpc_security_context_extension ---
Extension to the security context that may be set in a filter and accessed
later by a higher level method on a grpc_call object. */
typedef struct { typedef struct {
void *instance; void *instance;
void (*destroy)(void *); void (*destroy)(void *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment