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

Unified Diff: content/renderer/media/audio_renderer_sink_cache_impl.h

Issue 2533443003: AudioRendererSinkCache: Do not use unhealthy sinks (Closed)
Patch Set: "review comments addressed" Created 4 years 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: content/renderer/media/audio_renderer_sink_cache_impl.h
diff --git a/content/renderer/media/audio_renderer_sink_cache_impl.h b/content/renderer/media/audio_renderer_sink_cache_impl.h
index 7d163d9074c606acae482c5f181f2ecc732cf7ce..76b451db81822cd2972b0124e8a10add2a411cf7 100644
--- a/content/renderer/media/audio_renderer_sink_cache_impl.h
+++ b/content/renderer/media/audio_renderer_sink_cache_impl.h
@@ -70,6 +70,11 @@ class CONTENT_EXPORT AudioRendererSinkCacheImpl
const url::Origin& security_origin,
bool unused_only);
+ void CacheUnusedSinkIfHealthy(int source_render_frame_id,
+ const std::string& device_id,
+ const url::Origin& security_origin,
+ scoped_refptr<media::AudioRendererSink> sink);
+
// To avoid publishing CacheEntry structure in the header.
int GetCacheSizeForTesting();

Powered by Google App Engine
This is Rietveld 408576698