Index: components/web_view/test_runner/main.cc |
diff --git a/mandoline/app/desktop/main.cc b/components/web_view/test_runner/main.cc |
similarity index 64% |
copy from mandoline/app/desktop/main.cc |
copy to components/web_view/test_runner/main.cc |
index a1e26aa7eb8ad538dbe82106134648eb33b8096d..86a869107056acc1edf8c8ff8ca17fee147bfbc4 100644 |
--- a/mandoline/app/desktop/main.cc |
+++ b/components/web_view/test_runner/main.cc |
@@ -4,10 +4,9 @@ |
#include "base/at_exit.h" |
#include "base/command_line.h" |
-#include "mandoline/app/desktop/launcher_process.h" |
+#include "components/web_view/test_runner/launcher.h" |
#include "mojo/runner/child_process.h" |
#include "mojo/runner/init.h" |
-#include "mojo/runner/switches.h" |
int main(int argc, char** argv) { |
base::CommandLine::Init(argc, argv); |
@@ -16,10 +15,5 @@ int main(int argc, char** argv) { |
base::AtExitManager at_exit; |
mojo::runner::InitializeLogging(); |
- mojo::runner::WaitForDebuggerIfNecessary(); |
- |
- if (command_line.HasSwitch(switches::kChildProcess)) |
- return mojo::runner::ChildProcessMain(); |
- |
- return mandoline::LauncherProcessMain(argc, argv); |
+ return web_view::LaunchTestRunner(argc, argv); |
} |