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