blob: e506462eb7400b3763c7ed8be80c2d2104fafd66 [file] [log] [blame]
Joel Fernandes89db3482023-07-19 15:49:351// Copyright 2023 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4// Description: These are stubs for NACL.
5
6#include "base/threading/platform_thread.h"
7
8namespace base {
9namespace internal {
10
11bool CanSetThreadTypeToRealtimeAudio() {
12 return false;
13}
14
15bool SetCurrentThreadTypeForPlatform(ThreadType thread_type,
16 MessagePumpType pump_type_hint) {
17 return false;
18}
19
20absl::optional<ThreadPriorityForTest>
21GetCurrentThreadPriorityForPlatformForTest() {
22 return absl::nullopt;
23}
24} // namespace internal
25
26// static
27void PlatformThreadBase::SetName(const std::string& name) {
28 SetNameCommon(name);
29}
30
31} // namespace base