From 2a2f46104303d73907c8a04630d372505af9a430 Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Fri, 14 Nov 2008 22:36:24 +0000 Subject: Create first run sentinel file when the distribution param skip_first_run_ui is set - So we don't do a 'second run UI' BUG=1485094 Review URL: http://codereview.chromium.org/10708 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5510 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/first_run.cc') diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc index 1c72024..b8967f9 100755 --- a/chrome/browser/first_run.cc +++ b/chrome/browser/first_run.cc @@ -169,6 +169,8 @@ bool FirstRun::ProcessMasterPreferences( if (!(parse_result & installer_util::MASTER_PROFILE_NO_FIRST_RUN_UI)) return true; + // From here on we won't show first run so we need to do the work to set the + // required state given that FirstRunView is not going to be called. FirstRun::SetShowFirstRunBubblePref(); if (parse_result & installer_util::MASTER_PROFILE_SHOW_WELCOME) @@ -187,6 +189,8 @@ bool FirstRun::ProcessMasterPreferences( LOG(WARNING) << "silent import failed"; } } + + FirstRun::CreateSentinel(); return false; } -- cgit v1.1