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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.h"
6 6
7 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" 7 #include "chrome/browser/chromeos/login/oobe_screen.h"
8 #include "chrome/grit/generated_resources.h" 8 #include "chrome/grit/generated_resources.h"
9 #include "components/login/localized_values_builder.h" 9 #include "components/login/localized_values_builder.h"
10 10
11 namespace { 11 namespace {
12 12
13 const char kJsScreenPath[] = "login.WrongHWIDScreen"; 13 const char kJsScreenPath[] = "login.WrongHWIDScreen";
14 14
15 } // namespace 15 } // namespace
16 16
17 namespace chromeos { 17 namespace chromeos {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void WrongHWIDScreenHandler::RegisterMessages() { 68 void WrongHWIDScreenHandler::RegisterMessages() {
69 AddCallback("wrongHWIDOnSkip", &WrongHWIDScreenHandler::HandleOnSkip); 69 AddCallback("wrongHWIDOnSkip", &WrongHWIDScreenHandler::HandleOnSkip);
70 } 70 }
71 71
72 void WrongHWIDScreenHandler::HandleOnSkip() { 72 void WrongHWIDScreenHandler::HandleOnSkip() {
73 if (delegate_) 73 if (delegate_)
74 delegate_->OnExit(); 74 delegate_->OnExit();
75 } 75 }
76 76
77 } // namespace chromeos 77 } // namespace chromeos
OLDNEW
« 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