Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
index c103fa42511fc93b16bd82a4721d77c0efaf0617..7fdd4444441b79cc2399be316cee8c7c39c96251 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
@@ -330,21 +330,6 @@ void OobeUI::GetLocalizedStrings(base::DictionaryValue* localized_strings) { |
localized_strings->SetString("bootIntoWallpaper", "off"); |
} |
- // TODO(nkostylev): Make sure that only one type of login UI |
- // is active at a time. |
- // OobeUI is used for these use cases: |
- // 1. Out-of-box / login |
- // 2. Lock screen. |
- // 3. Multi-profiles sign in (add user to current session). |
- if (LoginDisplayHostImpl::default_host()) { |
- if (!UserManager::Get()->IsUserLoggedIn()) |
- localized_strings->SetString("screenType", "login"); |
- else |
- localized_strings->SetString("screenType", "login-add-user"); |
- } else { |
- localized_strings->SetString("screenType", "lock"); |
- } |
- |
bool keyboard_driven_oobe = false; |
system::StatisticsProvider::GetInstance()->GetMachineFlag( |
chromeos::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe); |