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

Unified Diff: chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc

Issue 2713513009: cros: Break BaseScreenHandler into two classes. (Closed)
Patch Set: Add comments, fix compile Created 3 years, 10 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/ui/webui/chromeos/login/user_image_screen_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc
index e38c74c4f4e3bc1518e6a723221aa28ea9807e1a..87b19203204d5573ccffee6f0c3625bf919d79e4 100644
--- a/chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc
@@ -16,7 +16,8 @@ const char kJsScreenPath[] = "login.WrongHWIDScreen";
namespace chromeos {
-WrongHWIDScreenHandler::WrongHWIDScreenHandler() {
+WrongHWIDScreenHandler::WrongHWIDScreenHandler()
+ : BaseScreenHandler(kScreenId) {
set_call_js_prefix(kJsScreenPath);
}
@@ -30,7 +31,7 @@ void WrongHWIDScreenHandler::Show() {
show_on_init_ = true;
return;
}
- ShowScreen(OobeScreen::SCREEN_WRONG_HWID);
+ ShowScreen(kScreenId);
}
void WrongHWIDScreenHandler::Hide() {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698