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

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

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (Closed)
Patch Set: Address comments Created 3 years, 11 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
« no previous file with comments | « chrome/browser/chromeos/login/oobe_screen.h ('k') | chrome/browser/chromeos/login/reset_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/oobe_screen.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_screen.cc b/chrome/browser/chromeos/login/oobe_screen.cc
similarity index 90%
rename from chrome/browser/ui/webui/chromeos/login/oobe_screen.cc
rename to chrome/browser/chromeos/login/oobe_screen.cc
index 46f966016aa84e18aecd59317935b73c0b6f69c5..0f0cdf8a7894a813a0d7cfec013631a035347b09 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_screen.cc
+++ b/chrome/browser/chromeos/login/oobe_screen.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h"
+#include "chrome/browser/chromeos/login/oobe_screen.h"
#include "base/logging.h"
#include "base/macros.h"
@@ -13,7 +13,7 @@ namespace {
// These get mapped by the Screen enum ordinal values, so this has to be defined
// in the same order as the Screen enum.
const char* kScreenNames[] = {
- "hid-detection", // SCREEN_OOBE_HID_DETECTION,
+ "hid-detection", // SCREEN_OOBE_HID_DETECTION
"connect", // SCREEN_OOBE_NETWORK
"eula", // SCREEN_OOBE_EULA
"update", // SCREEN_OOBE_UPDATE
@@ -40,6 +40,10 @@ const char* kScreenNames[] = {
"host-pairing", // SCREEN_OOBE_HOST_PAIRING
"device-disabled", // SCREEN_DEVICE_DISABLED
"unrecoverable-cryptohome-error", // SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR
+ "userBoard", // SCREEN_USER_SELECTION
+ "login", // SCREEN_SPECIAL_LOGIN
+ "oobe", // SCREEN_SPECIAL_OOBE
+ "test:nowindow", // SCREEN_TEST_NO_WINDOW
"unknown", // SCREEN_UNKNOWN
};
« no previous file with comments | « chrome/browser/chromeos/login/oobe_screen.h ('k') | chrome/browser/chromeos/login/reset_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698