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

Unified Diff: third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h
diff --git a/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h b/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h
index 5055b81242a87b1b174dcca5e66a74c7f3a94985..bbf9c327f32664decb65873c0dee4b3e52a40548 100644
--- a/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h
+++ b/third_party/WebKit/Source/platform/testing/EmptyWebMediaPlayer.h
@@ -37,7 +37,7 @@ class EmptyWebMediaPlayer : public WebMediaPlayer {
double CurrentTime() const override { return 0.0; }
NetworkState GetNetworkState() const override { return kNetworkStateEmpty; }
ReadyState GetReadyState() const override { return kReadyStateHaveNothing; }
- WebString GetErrorMessage() override { return WebString(); }
+ WebString GetErrorMessage() const override;
bool DidLoadingProgress() override { return false; }
bool HasSingleSecurityOrigin() const override { return true; }
bool DidPassCORSAccessCheck() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698