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

Side by Side Diff: third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.cpp

Issue 2660003003: Add MediaError.message (Closed)
Patch Set: Address dalecurtis@'s comment: undef STRINGIFY_STATUS_CASE Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698