| Index: content/browser/media/media_source_browsertest.cc
|
| diff --git a/content/browser/media/media_source_browsertest.cc b/content/browser/media/media_source_browsertest.cc
|
| index d5d86154637056c7242f684dbd2087d8372ac66d..90d0c84219fdb5774774c2a29656e3e62833809b 100644
|
| --- a/content/browser/media/media_source_browsertest.cc
|
| +++ b/content/browser/media/media_source_browsertest.cc
|
| @@ -32,17 +32,18 @@ static bool IsMSESupported() {
|
|
|
| class MediaSourceTest : public content::MediaBrowserTest {
|
| public:
|
| - void TestSimplePlayback(const char* media_file, const char* media_type,
|
| - const char* expectation) {
|
| + void TestSimplePlayback(const std::string& media_file,
|
| + const std::string& media_type,
|
| + const std::string& expectation) {
|
| if (!IsMSESupported()) {
|
| VLOG(0) << "Skipping test - MSE not supported.";
|
| return;
|
| }
|
|
|
| - std::vector<StringPair> query_params;
|
| - query_params.push_back(std::make_pair("mediafile", media_file));
|
| - query_params.push_back(std::make_pair("mediatype", media_type));
|
| - RunMediaTestPage("media_source_player.html", &query_params, expectation,
|
| + media::QueryParams query_params;
|
| + query_params.push_back(std::make_pair("mediaFile", media_file));
|
| + query_params.push_back(std::make_pair("mediaType", media_type));
|
| + RunMediaTestPage("media_source_player.html", query_params, expectation,
|
| true);
|
| }
|
|
|
| @@ -84,7 +85,10 @@ IN_PROC_BROWSER_TEST_F(MediaSourceTest, ConfigChangeVideo) {
|
| VLOG(0) << "Skipping test - MSE not supported.";
|
| return;
|
| }
|
| - RunMediaTestPage("mse_config_change.html", NULL, kEnded, true);
|
| + RunMediaTestPage("mse_config_change.html",
|
| + media::QueryParams(),
|
| + kEnded,
|
| + true);
|
| }
|
|
|
| } // namespace content
|
|
|