We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c75b5c commit 162d3d7Copy full SHA for 162d3d7
include/grpcpp/opencensus.h
@@ -21,6 +21,10 @@
21
22
#include "opencensus/trace/span.h"
23
24
+namespace grpc_impl {
25
+class ServerContext;
26
+}
27
+
28
namespace grpc {
29
// These symbols in this file will not be included in the binary unless
30
// grpc_opencensus_plugin build target was added as a dependency. At the moment
@@ -38,10 +42,8 @@ void RegisterOpenCensusPlugin();
38
42
// ViewDescriptors below.
39
43
void RegisterOpenCensusViewsForExport();
40
44
41
-class ServerContext;
-
45
// Returns the tracing Span for the current RPC.
-::opencensus::trace::Span GetSpanFromServerContext(ServerContext* context);
46
+::opencensus::trace::Span GetSpanFromServerContext(::grpc_impl::ServerContext* context);
47
48
} // namespace grpc
49
0 commit comments