| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include "platform/testing/EmptyWebMediaPlayer.h" | 5 #include "platform/testing/EmptyWebMediaPlayer.h" |
| 6 | 6 |
| 7 #include "public/platform/WebSize.h" | 7 #include "public/platform/WebSize.h" |
| 8 #include "public/platform/WebTimeRange.h" | 8 #include "public/platform/WebTimeRange.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 WebTimeRanges EmptyWebMediaPlayer::Buffered() const { | 12 WebTimeRanges EmptyWebMediaPlayer::Buffered() const { |
| 13 return WebTimeRanges(); | 13 return WebTimeRanges(); |
| 14 } | 14 } |
| 15 | 15 |
| 16 WebTimeRanges EmptyWebMediaPlayer::Seekable() const { | 16 WebTimeRanges EmptyWebMediaPlayer::Seekable() const { |
| 17 return WebTimeRanges(); | 17 return WebTimeRanges(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 WebSize EmptyWebMediaPlayer::NaturalSize() const { | 20 WebSize EmptyWebMediaPlayer::NaturalSize() const { |
| 21 return WebSize(0, 0); | 21 return WebSize(0, 0); |
| 22 } | 22 } |
| 23 | 23 |
| 24 WebString EmptyWebMediaPlayer::GetErrorMessage() const { |
| 25 return WebString(); |
| 26 } |
| 27 |
| 24 } // namespace blink | 28 } // namespace blink |
| OLD | NEW |