| Index: third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.cpp b/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..272e2bbd3311cc7d31c3f2ad83aeb9123625c9da
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.cpp
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "platform/testing/EmptyWebMediaPlayer.h"
|
| +
|
| +#include "public/platform/WebSize.h"
|
| +#include "public/platform/WebTimeRange.h"
|
| +
|
| +namespace blink {
|
| +
|
| +WebTimeRanges EmptyWebMediaPlayer::buffered() const {
|
| + return WebTimeRanges();
|
| +}
|
| +
|
| +WebTimeRanges EmptyWebMediaPlayer::seekable() const {
|
| + return WebTimeRanges();
|
| +}
|
| +
|
| +WebSize EmptyWebMediaPlayer::naturalSize() const {
|
| + return WebSize(0, 0);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|