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

Unified Diff: content/browser/media/media_browsertest.cc

Issue 593023002: Use base::StringPairs where appropriate for src/media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « content/browser/media/media_browsertest.h ('k') | content/browser/media/media_source_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/media_browsertest.cc
diff --git a/content/browser/media/media_browsertest.cc b/content/browser/media/media_browsertest.cc
index 0ffc029d80e1030f4def70163c0da87eeed79aee..46f7a49b618867bfe9ed224022ce21a7a0ad5505 100644
--- a/content/browser/media/media_browsertest.cc
+++ b/content/browser/media/media_browsertest.cc
@@ -28,7 +28,7 @@ const char MediaBrowserTest::kError[] = "ERROR";
const char MediaBrowserTest::kFailed[] = "FAILED";
void MediaBrowserTest::RunMediaTestPage(const std::string& html_page,
- const media::QueryParams& query_params,
+ const base::StringPairs& query_params,
const std::string& expected_title,
bool http) {
GURL gurl;
@@ -94,7 +94,7 @@ class MediaTest : public testing::WithParamInterface<bool>,
void PlayMedia(const std::string& tag,
const std::string& media_file,
bool http) {
- media::QueryParams query_params;
+ base::StringPairs query_params;
query_params.push_back(std::make_pair(tag, media_file));
RunMediaTestPage("player.html", query_params, kEnded, http);
}
@@ -104,7 +104,7 @@ class MediaTest : public testing::WithParamInterface<bool>,
expected += base::IntToString(width);
expected += " ";
expected += base::IntToString(height);
- media::QueryParams query_params;
+ base::StringPairs query_params;
query_params.push_back(std::make_pair("video", media_file));
RunMediaTestPage("player.html", query_params, expected, false);
}
« no previous file with comments | « content/browser/media/media_browsertest.h ('k') | content/browser/media/media_source_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698