DescriptionRemove |use_fallback_path_| from WMPI
Currently, WMPI chooses whether to use a MediaResource::Type::URL based
off of the explicit flag |use_fallback_path_|. This flag is only set at
WMPI creation time, in RenderFrameImpl. If the final redirected URL is
an HLS playlist, we request that WMPI be reloaded.
This CL changes WMPI to chose the MediaResource::Type based off of
RendererFactory::GetRequiredMediaResourceType(). This allows us to get
rid of |use_fallback_path_| and to update RendererFactorySelector after
redirects, rather than reloading WMPI.
BUG=663503
Review-Url: https://codereview.chromium.org/2769153005
Cr-Commit-Position: refs/heads/master@{#467428}
Committed: https://chromium.googlesource.com/chromium/src/+/75e2bf66ab653982229c116d96257daf71936b47
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #
Total comments: 6
Patch Set 4 : Addressed comment #
Total comments: 2
Patch Set 5 : Fix -Wsometimes-unitialized #Patch Set 6 : Addressed comment #Messages
Total messages: 23 (14 generated)
|