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

Unified Diff: media/remoting/remote_renderer_impl.h

Issue 2648303003: Media Remoting: Don't exit remoting if no enough data buffered. (Closed)
Patch Set: Addressed comments. Created 3 years, 11 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
« no previous file with comments | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remote_renderer_impl.h
diff --git a/media/remoting/remote_renderer_impl.h b/media/remoting/remote_renderer_impl.h
index e23427540c04366b740a780bbf9a0aa3e52acc61..490aa21729e12409f94a14add73fc17936043654 100644
--- a/media/remoting/remote_renderer_impl.h
+++ b/media/remoting/remote_renderer_impl.h
@@ -231,6 +231,9 @@ class RemoteRendererImpl : public Renderer {
// the data flow rates for metrics.
base::RepeatingTimer data_flow_poll_timer_;
+ // Indicates whether there is enough data buffered for rendering.
+ bool is_waiting_for_buffering_ = true;
+
base::WeakPtrFactory<RemoteRendererImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl);
« no previous file with comments | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698