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

Unified Diff: net/test/test_server.cc

Issue 7056031: Collect stats to investigate the viability of UDP (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « net/test/test_server.h ('k') | net/tools/testserver/testserver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server.cc
===================================================================
--- net/test/test_server.cc (revision 88351)
+++ net/test/test_server.cc (working copy)
@@ -182,6 +182,10 @@
return "http";
case TYPE_HTTPS:
return "https";
+ case TYPE_TCP_ECHO:
+ NOTREACHED();
+ case TYPE_UDP_ECHO:
+ NOTREACHED();
default:
NOTREACHED();
}
@@ -357,6 +361,10 @@
command_line->AppendArg("-f");
} else if (type_ == TYPE_SYNC) {
command_line->AppendArg("--sync");
+ } else if (type_ == TYPE_TCP_ECHO) {
+ command_line->AppendArg("--tcp-echo");
+ } else if (type_ == TYPE_UDP_ECHO) {
+ command_line->AppendArg("--udp-echo");
} else if (type_ == TYPE_HTTPS) {
FilePath certificate_path(certificates_dir_);
certificate_path = certificate_path.Append(
« no previous file with comments | « net/test/test_server.h ('k') | net/tools/testserver/testserver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698