struct ShouldAllowConsumerSessionArgs
Defined at line 40 of file ../../third_party/perfetto/include/perfetto/tracing/tracing_policy.h
Called when the current process attempts to connect a new consumer to the
backend of |backend_type| to check if the connection should be allowed. Its
implementation should execute |result_callback| with the result of the
check (synchronuosly or asynchronously on any thread). If the result is
false, the consumer connection is aborted. Chrome uses this to restrict
creating (system) tracing sessions based on an enterprise policy.
Public Members
BackendType backend_type
function result_callback