Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3313)

Unified Diff: base/threading/thread_restrictions.h

Issue 2038053002: Change audio render thread checking to use new AudioRendererSink::BelongsToRendererThread() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review (tommi@). Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index e916ecc6f3b954e08127e55c5d442b12895f0866..8ad946f9c2665121ff69b25ef9d73f43e2b3d9e0 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -56,6 +56,9 @@ class InFlightIO;
namespace gpu {
class GpuChannelHost;
}
+namespace media {
+class AudioDeviceThread;
+}
namespace mojo {
namespace common {
class MessagePumpMojo;
@@ -210,6 +213,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class ThreadTestHelper;
friend class PlatformThread;
friend class android::JavaHandlerThread;
+ friend class media::AudioDeviceThread;
friend class mojo::common::MessagePumpMojo;
friend class mus::CommandBufferClientImpl;
friend class mus::CommandBufferLocal;
« no previous file with comments | « no previous file | content/renderer/media/media_stream_audio_processor.h » ('j') | media/audio/audio_output_device.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698