Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ |
| 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ | 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 224 // Records the number of consecutive times that remoting playback was delayed. | 224 // Records the number of consecutive times that remoting playback was delayed. |
| 225 int times_playback_delayed_ = 0; | 225 int times_playback_delayed_ = 0; |
| 226 | 226 |
| 227 // Records events and measurements of interest. | 227 // Records events and measurements of interest. |
| 228 remoting::RendererMetricsRecorder metrics_recorder_; | 228 remoting::RendererMetricsRecorder metrics_recorder_; |
| 229 | 229 |
| 230 // A timer that polls the RemoteDemuxerStreamAdapters periodically to measure | 230 // A timer that polls the RemoteDemuxerStreamAdapters periodically to measure |
| 231 // the data flow rates for metrics. | 231 // the data flow rates for metrics. |
| 232 base::RepeatingTimer data_flow_poll_timer_; | 232 base::RepeatingTimer data_flow_poll_timer_; |
| 233 | 233 |
| 234 // Indicates whether there is enough data buffered for rendering. | |
| 235 bool is_waiting_for_buffering_ = false; | |
|
miu
2017/01/23 21:01:48
This is probably immaterial, but this starts out a
xjz
2017/01/23 21:21:19
Done. Thanks!
| |
| 236 | |
| 234 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; | 237 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; |
| 235 | 238 |
| 236 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); | 239 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); |
| 237 }; | 240 }; |
| 238 | 241 |
| 239 } // namespace media | 242 } // namespace media |
| 240 | 243 |
| 241 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ | 244 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ |
| OLD | NEW |