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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2660003003: Add MediaError.message (Closed)
Patch Set: --flakiness by using std::map, update virtual/stable/[win,mac] global interface listing too 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/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 85a51d23bcba0db442ca7f518436d47b6e2ea570..5b948345d1111b0a9efc45f69b5863df2ad40e2b 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -61,6 +61,7 @@ class ExceptionState;
class HTMLMediaElementControlsList;
class HTMLSourceElement;
class HTMLTrackElement;
+class JSONObject;
class KURL;
class MediaError;
class MediaStreamDescriptor;
@@ -448,7 +449,7 @@ class CORE_EXPORT HTMLMediaElement
void ClearMediaPlayer();
void ClearMediaPlayerAndAudioSourceProviderClientWithoutLocking();
bool HavePotentialSourceChild();
- void NoneSupported();
+ void NoneSupported(std::unique_ptr<JSONObject>);
void MediaEngineError(MediaError*);
void CancelPendingEventsAndCallbacks();
void WaitForSourceChange();
@@ -456,7 +457,8 @@ class CORE_EXPORT HTMLMediaElement
KURL SelectNextSourceChild(String* content_type, InvalidURLAction);
- void MediaLoadingFailed(WebMediaPlayer::NetworkState);
+ void MediaLoadingFailed(WebMediaPlayer::NetworkState,
+ std::unique_ptr<JSONObject>);
// deferred loading (preload=none)
bool LoadIsDeferred() const;

Powered by Google App Engine
This is Rietveld 408576698