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

Unified Diff: chrome/browser/importer/firefox_importer_unittest_utils_mac.cc

Issue 7258005: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
Index: chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
diff --git a/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc b/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
index dbaf19a788d74f49f05ec4c29bfd9974aba1b68d..b28a7384c4dffcab3e6dbd93e5763e85aee0a601 100644
--- a/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
+++ b/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
@@ -53,7 +53,12 @@ bool LaunchNSSDecrypterChildProcess(const FilePath& nss_path,
bool debug_on_start = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDebugChildren);
- return base::LaunchApp(cl.argv(), env, fds_to_map, debug_on_start, handle);
+ base::LaunchOptions options;
+ options.environ = &env;
+ options.fds_to_remap = &fds_to_map;
+ options.wait = debug_on_start;
+ options.process_handle = handle;
+ return base::LaunchProcess(cl.argv(), options);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698