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

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

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Merge Created 3 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
« no previous file with comments | « chrome/utility/image_writer/image_writer_mac.cc ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
diff --git a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
index 1daa80fd12f9b7748e159af582068dc20daa78c6..d2d0e3e2d40e89ccee242c4196703dfd041afe9b 100644
--- a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
+++ b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
@@ -57,13 +57,10 @@ base::Process LaunchNSSDecrypterChildProcess(
// why we need this.
base::LaunchOptions options;
options.environ["DYLD_FALLBACK_LIBRARY_PATH"] = nss_path.value();
-
- base::FileHandleMappingVector fds_to_map;
- fds_to_map.push_back(std::pair<int, int>(
+ options.fds_to_remap.push_back(std::pair<int, int>(
mojo_handle.get().handle,
kMojoIPCChannel + base::GlobalDescriptors::kBaseDescriptor));
- options.fds_to_remap = &fds_to_map;
return base::LaunchProcess(cl.argv(), options);
}
« no previous file with comments | « chrome/utility/image_writer/image_writer_mac.cc ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698