Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 273533004: Flag covering HID-detection OOBE screen removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Css fix for tick-element. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index f2486d71f4d78838bff6e77084724b26bed56a37..daa330c48643e1d78753a4e1c5878a6801df1501 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -61,7 +61,6 @@
#include "chrome/common/pref_names.h"
#include "chromeos/audio/cras_audio_handler.h"
#include "chromeos/chromeos_constants.h"
-#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/session_manager_client.h"
#include "chromeos/network/network_state.h"
@@ -86,12 +85,6 @@ static int kShowDelayMs = 400;
// Total timezone resolving process timeout.
const unsigned int kResolveTimeZoneTimeoutSeconds = 60;
-// Checks flag for HID-detection screen show.
-bool CanShowHIDDetectionScreen() {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kEnableHIDDetectionOnOOBE);
-}
-
} // namespace
namespace chromeos {
@@ -791,10 +784,7 @@ void WizardController::AdvanceToScreen(const std::string& screen_name) {
ShowHIDDetectionScreen();
} else if (screen_name != kTestNoScreenName) {
if (is_out_of_box_) {
- if (CanShowHIDDetectionScreen())
ShowHIDDetectionScreen();
- else
- ShowNetworkScreen();
} else {
ShowLoginScreen(LoginScreenContext());
}

Powered by Google App Engine
This is Rietveld 408576698