media: Add GetMimeTypeForFile() for test
This removes the duplicate code to specify mime type for a given test file in multiple media tests. In this CL chrome/content encrypted_media_browsertest.cc are updated to use the new function. In the next CL, media_source_browsertest.cc and pipeline_integration_test.cc will be updated as well. Bug: 897767 Test: No functionality change. Change-Id: I2e408d125fcc339352ad7c18a56b951f179f736c Reviewed-on: https://chromium-review.googlesource.com/c/1295151Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#602036}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment