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

Unified Diff: content/shell/common/layout_test/layout_test_switches.cc

Issue 2540603004: [Android] Redirect std{in,out,err} to sockets for layout tests. (Closed)
Patch Set: Fix server_process_constructor name. Created 4 years 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
Index: content/shell/common/layout_test/layout_test_switches.cc
diff --git a/content/shell/common/layout_test/layout_test_switches.cc b/content/shell/common/layout_test/layout_test_switches.cc
index 2ef18ff348df1e1029b43280e73610ef5769af75..3cbf6cea5b905d3cb3659db8e53eb24003264c4b 100644
--- a/content/shell/common/layout_test/layout_test_switches.cc
+++ b/content/shell/common/layout_test/layout_test_switches.cc
@@ -12,6 +12,15 @@ namespace switches {
// Allow access to external pages during layout tests.
const char kAllowExternalPages[] = "allow-external-pages";
+// Redirect stderr to the given port. Only supported on Android.
+const char kAndroidStderrPort[] = "android-stderr-port";
+
+// Redirect stdin to the given port. Only supported on Android.
+const char kAndroidStdinPort[] = "android-stdin-port";
+
+// Redirect stdout to the given port. Only supported on Android.
+const char kAndroidStdoutPort[] = "android-stdout-port";
+
// Check whether all system dependencies for running layout tests are met.
const char kCheckLayoutTestSysDeps[] = "check-layout-test-sys-deps";

Powered by Google App Engine
This is Rietveld 408576698