OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/error_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/error_screen_handler.h" |
6 | 6 |
7 #include "ash/common/system/chromeos/devicetype_utils.h" | 7 #include "ash/system/devicetype_utils.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "chrome/browser/chromeos/login/screens/error_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/error_screen.h" |
11 #include "chrome/grit/chromium_strings.h" | 11 #include "chrome/grit/chromium_strings.h" |
12 #include "chrome/grit/generated_resources.h" | 12 #include "chrome/grit/generated_resources.h" |
13 #include "components/login/localized_values_builder.h" | 13 #include "components/login/localized_values_builder.h" |
14 #include "ui/strings/grit/ui_strings.h" | 14 #include "ui/strings/grit/ui_strings.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 if (showing_ && screen_) | 122 if (showing_ && screen_) |
123 screen_->OnUserAction(ErrorScreen::kUserActionConnectRequested); | 123 screen_->OnUserAction(ErrorScreen::kUserActionConnectRequested); |
124 } | 124 } |
125 | 125 |
126 void ErrorScreenHandler::HandleHideCaptivePortal() { | 126 void ErrorScreenHandler::HandleHideCaptivePortal() { |
127 if (screen_) | 127 if (screen_) |
128 screen_->HideCaptivePortal(); | 128 screen_->HideCaptivePortal(); |
129 } | 129 } |
130 | 130 |
131 } // namespace chromeos | 131 } // namespace chromeos |
OLD | NEW |