// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PLATFORM_API_TRACE_LOGGING_PLATFORM_H_ #define PLATFORM_API_TRACE_LOGGING_PLATFORM_H_ #include <string> #include <utility> #include <vector> #include "platform/api/time.h" #include "platform/api/trace_event.h" #include "platform/base/error.h" #include "platform/base/trace_logging_activation.h" #include "platform/base/trace_logging_types.h" namespace openscreen { // Optional platform API to support logging trace events from Open Screen. To // use this, implement the TraceLoggingPlatform interface and call // StartTracing() and StopTracing() to turn tracing on/off (see // platform/base/trace_logging_activation.h). // // All methods must be thread-safe and re-entrant. class TraceLoggingPlatform { … }; } // namespace openscreen #endif // PLATFORM_API_TRACE_LOGGING_PLATFORM_H_