summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/first_run/first_run_win.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc
index b751524..515168e 100644
--- a/chrome/browser/first_run/first_run_win.cc
+++ b/chrome/browser/first_run/first_run_win.cc
@@ -399,6 +399,10 @@ bool ImportSettingsWin(Profile* profile,
int items_to_import,
const FilePath& import_bookmarks_path,
bool skip_first_run_ui) {
+ if (!items_to_import && import_bookmarks_path.empty()) {
+ return true;
+ }
+
const CommandLine& cmdline = *CommandLine::ForCurrentProcess();
CommandLine import_cmd(cmdline.GetProgram());