| Index: net/base/ssl_test_util.cc
|
| ===================================================================
|
| --- net/base/ssl_test_util.cc (revision 13436)
|
| +++ net/base/ssl_test_util.cc (working copy)
|
| @@ -152,7 +152,8 @@
|
| bool TestServerLauncher::Start(Protocol protocol,
|
| const std::string& host_name, int port,
|
| const FilePath& document_root,
|
| - const FilePath& cert_path) {
|
| + const FilePath& cert_path,
|
| + const std::wstring& file_root_url) {
|
| if (!cert_path.value().empty()) {
|
| if (!LoadTestRootCert())
|
| return false;
|
| @@ -198,6 +199,11 @@
|
| command_line.append(cert_path.ToWStringHack());
|
| command_line.append(L"\"");
|
| }
|
| + if (!file_root_url.empty()) {
|
| + command_line.append(L" --file-root-url=\"");
|
| + command_line.append(file_root_url);
|
| + command_line.append(L"\"");
|
| + }
|
|
|
| if (!base::LaunchApp(command_line, false, true, &process_handle_)) {
|
| LOG(ERROR) << "Failed to launch " << command_line;
|
|
|