summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser_main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 6aba314..7c37edc 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -334,6 +334,11 @@ int BrowserMain(CommandLine &parsed_command_line,
first_run_ui_bypass =
!FirstRun::ProcessMasterPreferences(user_data_dir,
std::wstring(), NULL);
+
+ // If we are running in App mode, we do not want to show the importer
+ // (first run) UI.
+ if (!first_run_ui_bypass && parsed_command_line.HasSwitch(switches::kApp))
+ first_run_ui_bypass = true;
}
ResourceBundle::InitSharedInstance(