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

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 fixes (dalecurtis@). 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..102165c783754430ca0bdac600cf3eecb621514f 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;
@@ -214,6 +217,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class mus::CommandBufferClientImpl;
friend class mus::CommandBufferLocal;
friend class mus::GpuState;
+ friend class media::AudioDeviceThread;
jam 2016/06/13 18:22:22 nit: order
Henrik Grunell 2016/06/13 20:38:35 I actually added it last because there isn't a cle
Henrik Grunell 2016/06/14 11:30:00 I put it after android::.
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.

Powered by Google App Engine
This is Rietveld 408576698