| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 base::OneShotTimer background_pause_timer_; | 541 base::OneShotTimer background_pause_timer_; |
| 542 | 542 |
| 543 // Monitors the watch time of the played content. | 543 // Monitors the watch time of the played content. |
| 544 std::unique_ptr<WatchTimeReporter> watch_time_reporter_; | 544 std::unique_ptr<WatchTimeReporter> watch_time_reporter_; |
| 545 bool is_encrypted_; | 545 bool is_encrypted_; |
| 546 | 546 |
| 547 // Number of times we've reached BUFFERING_HAVE_NOTHING during playback. | 547 // Number of times we've reached BUFFERING_HAVE_NOTHING during playback. |
| 548 int underflow_count_; | 548 int underflow_count_; |
| 549 std::unique_ptr<base::ElapsedTimer> underflow_timer_; | 549 std::unique_ptr<base::ElapsedTimer> underflow_timer_; |
| 550 | 550 |
| 551 // Whether the player is currently in autoplay muted state. |
| 552 bool autoplay_muted_ = false; |
| 553 |
| 551 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 554 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 552 }; | 555 }; |
| 553 | 556 |
| 554 } // namespace media | 557 } // namespace media |
| 555 | 558 |
| 556 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 559 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |