Fix cast from video player by using DriveApiUrlGenerator to generate URL
This patch fixes the regression which is caused by the following CL. https://chromium.googlesource.com/chromium/src/+/3315eb5fe7bcb9300995dae3326de2d2c5f3c44a Since the Styx URLs are updated in that CL, we need to use DriveApiUrlGenerator::GenerateDownloadFileURL to create a download URL to pass a cast device. BUG=477733 TEST=can cast a video Review URL: https://codereview.chromium.org/1055403004 Cr-Commit-Position: refs/heads/master@{#326999}
Showing
Please register or sign in to comment