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

Unified Diff: media/cast/test/utility/udp_proxy_main.cc

Issue 2866943002: Give performance_browser_tests lots of love and attention. (Closed)
Patch Set: fix compile error Created 3 years, 7 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 | « media/cast/test/utility/udp_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/udp_proxy_main.cc
diff --git a/media/cast/test/utility/udp_proxy_main.cc b/media/cast/test/utility/udp_proxy_main.cc
index 98c289831e8a5c60aa552a26c7ca74e5714e0902..073583f0998c9f634c4e37aa8c21fa297da11013 100644
--- a/media/cast/test/utility/udp_proxy_main.cc
+++ b/media/cast/test/utility/udp_proxy_main.cc
@@ -143,7 +143,8 @@ int main(int argc, char** argv) {
"Usage: udp_proxy <localport> <remotehost> <remoteport> <type>\n"
"or:\n"
" udp_proxy <localport> <type>\n"
- "Where type is one of: perfect, wifi, bad, evil, poisson-wifi\n");
+ "Where type is one of:\n"
+ " perfect, wifi, slow, bad, evil, poisson-wifi\n");
exit(1);
}
@@ -179,6 +180,9 @@ int main(int argc, char** argv) {
} else if (network_type == "wifi") {
in_pipe = media::cast::test::WifiNetwork();
out_pipe = media::cast::test::WifiNetwork();
+ } else if (network_type == "slow") {
+ in_pipe = media::cast::test::SlowNetwork();
+ out_pipe = media::cast::test::SlowNetwork();
} else if (network_type == "bad") {
in_pipe = media::cast::test::BadNetwork();
out_pipe = media::cast::test::BadNetwork();
« no previous file with comments | « media/cast/test/utility/udp_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698