diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 22:36:24 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 22:36:24 +0000 |
commit | 2a2f46104303d73907c8a04630d372505af9a430 (patch) | |
tree | 1ac2594d73875067491a48a963f5d7c1b5e944c8 | |
parent | ae7ca1b9b87f64b8c798cc9db11cc568e9ae421e (diff) | |
download | chromium_src-2a2f46104303d73907c8a04630d372505af9a430.zip chromium_src-2a2f46104303d73907c8a04630d372505af9a430.tar.gz chromium_src-2a2f46104303d73907c8a04630d372505af9a430.tar.bz2 |
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
-rwxr-xr-x | chrome/browser/first_run.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |