OLD | NEW |
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_ui.h" | 7 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
8 #include "grit/chromium_strings.h" | |
9 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.h" |
10 | 9 |
11 namespace { | 10 namespace { |
12 | 11 |
13 const char kJsScreenPath[] = "login.WrongHWIDScreen"; | 12 const char kJsScreenPath[] = "login.WrongHWIDScreen"; |
14 | 13 |
15 } // namespace | 14 } // namespace |
16 | 15 |
17 namespace chromeos { | 16 namespace chromeos { |
18 | 17 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void WrongHWIDScreenHandler::RegisterMessages() { | 70 void WrongHWIDScreenHandler::RegisterMessages() { |
72 AddCallback("wrongHWIDOnSkip", &WrongHWIDScreenHandler::HandleOnSkip); | 71 AddCallback("wrongHWIDOnSkip", &WrongHWIDScreenHandler::HandleOnSkip); |
73 } | 72 } |
74 | 73 |
75 void WrongHWIDScreenHandler::HandleOnSkip() { | 74 void WrongHWIDScreenHandler::HandleOnSkip() { |
76 if (delegate_) | 75 if (delegate_) |
77 delegate_->OnExit(); | 76 delegate_->OnExit(); |
78 } | 77 } |
79 | 78 |
80 } // namespace chromeos | 79 } // namespace chromeos |
OLD | NEW |