#include "content/browser/child_thread_type_switcher_linux.h"
#include "base/linux_util.h"
#include "base/logging.h"
#include "base/process/process_handle.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/platform_thread.h"
#include "content/public/browser/child_process_launcher_utils.h"
namespace content {
namespace {
void SetThreadTypeOnLauncherThread(base::ProcessId peer_pid,
base::PlatformThreadId ns_tid,
base::ThreadType thread_type) { … }
}
ChildThreadTypeSwitcher::ChildThreadTypeSwitcher() = default;
ChildThreadTypeSwitcher::~ChildThreadTypeSwitcher() = default;
bool ChildThreadTypeSwitcher::Bind(
mojo::PendingReceiver<mojom::ThreadTypeSwitcher> receiver) { … }
void ChildThreadTypeSwitcher::SetPid(base::ProcessId child_pid) { … }
void ChildThreadTypeSwitcher::SetThreadType(int32_t ns_tid,
base::ThreadType thread_type) { … }
}