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

Unified Diff: net/disk_cache/stress_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 | « media/audio/win/audio_manager_win.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/stress_cache.cc
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index ee2db24d3ce74d933ab283ebd40a7fbf443ac547..4ba204b200b34edaf9c6f08e85ea30436b7763c6 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -59,7 +59,9 @@ int RunSlave(int iteration) {
cmdline.AppendArg(base::IntToString(iteration));
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\n");
return kError;
}
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698