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

Unified Diff: chrome/browser/first_run/first_run_gtk.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 | « chrome/browser/browser_main_win.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run_gtk.cc
diff --git a/chrome/browser/first_run/first_run_gtk.cc b/chrome/browser/first_run/first_run_gtk.cc
index 6db2da05f0a4f621032857f9c6bdabb06b8bc777..9051456010bb9b2b3b596b2b968c1cae3d882c69 100644
--- a/chrome/browser/first_run/first_run_gtk.cc
+++ b/chrome/browser/first_run/first_run_gtk.cc
@@ -41,7 +41,9 @@ bool FirstRun::ImportBookmarks(const FilePath& import_bookmarks_path) {
import_bookmarks_path);
// Time to launch the process that is going to do the import. We'll wait
// for the process to return.
- return base::LaunchApp(import_cmd, true, false, NULL);
+ base::LaunchOptions options;
+ options.wait = true;
+ return base::LaunchProcess(import_cmd, options);
}
// static
« no previous file with comments | « chrome/browser/browser_main_win.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698