#include "services/tracing/public/cpp/system_tracing_service.h"
#include <unistd.h>
#include <optional>
#include "base/files/scoped_temp_dir.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "services/tracing/perfetto/system_test_utils.h"
#include "services/tracing/public/cpp/perfetto/perfetto_traced_process.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace tracing {
const char* kProducerSockEnvName = …;
namespace {
class SystemTracingServiceTest : public testing::Test { … };
TEST_F(SystemTracingServiceTest, OpenProducerSocket) { … }
TEST_F(SystemTracingServiceTest, OpenProducerSocket_Nonexistent) { … }
TEST_F(SystemTracingServiceTest, BindAndPassPendingRemote) { … }
TEST_F(SystemTracingServiceTest, BindAndPassPendingRemote_Nonexistent) { … }
}
}