diff options
Diffstat (limited to 'grpc/src/cpp/ext/filters/census/client_filter.cc')
-rw-r--r-- | grpc/src/cpp/ext/filters/census/client_filter.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/grpc/src/cpp/ext/filters/census/client_filter.cc b/grpc/src/cpp/ext/filters/census/client_filter.cc index 3d909214..380ad5b5 100644 --- a/grpc/src/cpp/ext/filters/census/client_filter.cc +++ b/grpc/src/cpp/ext/filters/census/client_filter.cc @@ -53,8 +53,8 @@ void FilterTrailingMetadata(grpc_metadata_batch* b, uint64_t* elapsed_time) { } // namespace -void CensusClientCallData::OnDoneRecvTrailingMetadataCb(void* user_data, - grpc_error* error) { +void CensusClientCallData::OnDoneRecvTrailingMetadataCb( + void* user_data, grpc_error_handle error) { grpc_call_element* elem = reinterpret_cast<grpc_call_element*>(user_data); CensusClientCallData* calld = reinterpret_cast<CensusClientCallData*>(elem->call_data); @@ -70,7 +70,7 @@ void CensusClientCallData::OnDoneRecvTrailingMetadataCb(void* user_data, } void CensusClientCallData::OnDoneRecvMessageCb(void* user_data, - grpc_error* error) { + grpc_error_handle error) { grpc_call_element* elem = reinterpret_cast<grpc_call_element*>(user_data); CensusClientCallData* calld = reinterpret_cast<CensusClientCallData*>(elem->call_data); @@ -138,8 +138,8 @@ void CensusClientCallData::StartTransportStreamOpBatch( grpc_call_next_op(elem, op->op()); } -grpc_error* CensusClientCallData::Init(grpc_call_element* elem, - const grpc_call_element_args* args) { +grpc_error_handle CensusClientCallData::Init( + grpc_call_element* elem, const grpc_call_element_args* args) { path_ = grpc_slice_ref_internal(args->path); start_time_ = absl::Now(); method_ = GetMethod(&path_); @@ -152,9 +152,9 @@ grpc_error* CensusClientCallData::Init(grpc_call_element* elem, return GRPC_ERROR_NONE; } -void CensusClientCallData::Destroy(grpc_call_element* elem, +void CensusClientCallData::Destroy(grpc_call_element* /*elem*/, const grpc_call_final_info* final_info, - grpc_closure* then_call_closure) { + grpc_closure* /*then_call_closure*/) { const uint64_t request_size = GetOutgoingDataSize(final_info); const uint64_t response_size = GetIncomingDataSize(final_info); double latency_ms = absl::ToDoubleMilliseconds(absl::Now() - start_time_); |