Export rtc::tracing symbols for use in Chrome Remote Desktop.
Bug: webrtc:13585 Change-Id: I12d88ae59c59bd3bc81b823e7e5a5b56e5e9fb6d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/247440 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35739}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
4f8a58c3d2
commit
a62dcd815d
@ -28,6 +28,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
typedef const unsigned char* (*GetCategoryEnabledPtr)(const char* name);
|
||||
@ -70,12 +72,12 @@ class EventTracer {
|
||||
namespace rtc {
|
||||
namespace tracing {
|
||||
// Set up internal event tracer.
|
||||
void SetupInternalTracer();
|
||||
bool StartInternalCapture(const char* filename);
|
||||
void StartInternalCaptureToFile(FILE* file);
|
||||
void StopInternalCapture();
|
||||
RTC_EXPORT void SetupInternalTracer();
|
||||
RTC_EXPORT bool StartInternalCapture(const char* filename);
|
||||
RTC_EXPORT void StartInternalCaptureToFile(FILE* file);
|
||||
RTC_EXPORT void StopInternalCapture();
|
||||
// Make sure we run this, this will tear down the internal tracing.
|
||||
void ShutdownInternalTracer();
|
||||
RTC_EXPORT void ShutdownInternalTracer();
|
||||
} // namespace tracing
|
||||
} // namespace rtc
|
||||
|
||||
|
Reference in New Issue
Block a user