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

Unified Diff: base/test/multiprocess_test_android.cc

Issue 189373002: Add multiprocess test helper functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« base/test/multiprocess_test.cc ('K') | « base/test/multiprocess_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/multiprocess_test_android.cc
diff --git a/base/test/multiprocess_test_android.cc b/base/test/multiprocess_test_android.cc
index c518bb438ac87e652ec38b20aac66288b7b5dcdc..c34fda89acf07a1d1aee7534b6e0f0851eb3b75d 100644
--- a/base/test/multiprocess_test_android.cc
+++ b/base/test/multiprocess_test_android.cc
@@ -15,14 +15,16 @@ namespace base {
// A very basic implementation for Android. On Android tests can run in an APK
// and we don't have an executable to exec*. This implementation does the bare
// minimum to execute the method specified by procname (in the child process).
+// - |base_command_line| is ignored.
// - All options except |fds_to_remap| are ignored.
// - |debug_on_start| is ignored.
-ProcessHandle MultiProcessTest::SpawnChildWithOptions(
+ProcessHandle SpawnMultiProcessTestChild(
const std::string& procname,
+ const CommandLine& /*base_command_line*/,
Paweł Hajdan Jr. 2014/03/07 02:08:01 nit: Why comment out parameter names?
viettrungluu 2014/03/07 04:42:44 Removed, though I believe the style guide permits
const LaunchOptions& options,
- bool debug_on_start) {
- // TODO(vtl): The FD-remapping done below is wrong in the presence of cycles
- // (e.g., fd1 -> fd2, fd2 -> fd1). crbug.com/326576
+ bool /*debug_on_start*/) {
+ // TODO(viettrungluu): The FD-remapping done below is wrong in the presence of
+ // cycles (e.g., fd1 -> fd2, fd2 -> fd1). crbug.com/326576
FileHandleMappingVector empty;
const FileHandleMappingVector* fds_to_remap =
options.fds_to_remap ? options.fds_to_remap : ∅
« base/test/multiprocess_test.cc ('K') | « base/test/multiprocess_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698