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( |