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

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

Issue 2046253002: When HLS redirects are encountered recreate WebMediaPlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't set m_currentSrc. Created 4 years, 6 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 f42f1eb01b3c50a65d583be29b68c2d15e169b4d..8ef07ba9d9598bd5ac513553c1366eca9116fad2 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -349,6 +349,7 @@ private:
void connectedToRemoteDevice() final;
void disconnectedFromRemoteDevice() final;
void cancelledRemotePlaybackRequest() final;
+ void requestReload(const WebURL& newUrl) final;
void loadTimerFired(Timer<HTMLMediaElement>*);
void progressEventTimerFired(Timer<HTMLMediaElement>*);
@@ -369,8 +370,8 @@ private:
void invokeResourceSelectionAlgorithm();
void loadInternal();
void selectMediaResource();
- void loadResource(const WebMediaPlayerSource&, ContentType&);
- void startPlayerLoad();
+ void loadResource(const WebMediaPlayerSource&, const ContentType&, const KURL& playerProvidedUrl = KURL());
+ void startPlayerLoad(const KURL& playerProvidedUrl = KURL());
void setPlayerPreload();
WebMediaPlayer::LoadType loadType() const;
void scheduleNextSourceChild();

Powered by Google App Engine
This is Rietveld 408576698