#include "base/tracing/perfetto_task_runner.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/files/scoped_file.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/threading/simple_thread.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL)
#include <sys/socket.h>
#include <sys/types.h>
#include "base/posix/eintr_wrapper.h"
#endif
namespace base {
namespace tracing {
namespace {
class TaskDestination { … };
class PosterThread : public base::SimpleThread { … };
class PerfettoTaskRunnerTest : public testing::Test { … };
TEST_F(PerfettoTaskRunnerTest, SequentialTasks) { … }
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL)
TEST_F(PerfettoTaskRunnerTest, FileDescriptorReuse) { … }
#endif
}
}
}