From 653f437cef2baffad6b6073fdd735afb58a2a4d2 Mon Sep 17 00:00:00 2001 From: "dzhioev@chromium.org" Date: Thu, 28 Nov 2013 06:36:45 +0000 Subject: [PATCH] First-run UI disabled for telemetry tests. BUG=323457 Review URL: https://codereview.chromium.org/91863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237710 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/login/login_display_host_impl.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/browser/chromeos/login/login_display_host_impl.cc b/chrome/browser/chromeos/login/login_display_host_impl.cc index 97432c7bb2c1..660b649062b1 100644 --- a/chrome/browser/chromeos/login/login_display_host_impl.cc +++ b/chrome/browser/chromeos/login/login_display_host_impl.cc @@ -367,12 +367,11 @@ LoginDisplayHostImpl::~LoginDisplayHostImpl() { default_host_ = NULL; // TODO(dzhioev): find better place for starting tutorial. CommandLine* command_line = CommandLine::ForCurrentProcess(); - if (!command_line->HasSwitch(switches::kDisableFirstRunUI) && + if (!command_line->HasSwitch(switches::kOobeSkipPostLogin) && + !command_line->HasSwitch(switches::kDisableFirstRunUI) && ((chromeos::UserManager::Get()->IsCurrentUserNew() && !command_line->HasSwitch(::switches::kTestType)) || command_line->HasSwitch(switches::kForceFirstRunUI))) { - // FirstRunController manages its lifetime and destructs after tutorial - // completion. FirstRunController::Start(); } -- 2.11.4.GIT