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

Unified Diff: net/tools/crash_cache/crash_cache.cc

Issue 7351003: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-only 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
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/dump_cache/dump_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/crash_cache/crash_cache.cc
diff --git a/net/tools/crash_cache/crash_cache.cc b/net/tools/crash_cache/crash_cache.cc
index 72628d0315e484af9478e2e52c110073865e39af..7118af21d55b214d30d801708939400066eeff72 100644
--- a/net/tools/crash_cache/crash_cache.cc
+++ b/net/tools/crash_cache/crash_cache.cc
@@ -49,7 +49,9 @@ int RunSlave(RankCrashes action) {
cmdline.AppendArg(base::IntToString(action));
base::ProcessHandle handle;
- if (!base::LaunchApp(cmdline, false, false, &handle)) {
+ base::LaunchOptions options;
+ options.process_handle = &handle;
+ if (!base::LaunchProcess(cmdline, options)) {
printf("Unable to run test %d\n", action);
return GENERIC;
}
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/dump_cache/dump_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698