| 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/chromeos/login/webui_screen_locker.h" | 5 #include "chrome/browser/chromeos/login/webui_screen_locker.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 chromeos::ScreenLocker::default_screen_locker()->Signout(); | 187 chromeos::ScreenLocker::default_screen_locker()->Signout(); |
| 188 } | 188 } |
| 189 | 189 |
| 190 void WebUIScreenLocker::OnUserSelected(const std::string& username) { | 190 void WebUIScreenLocker::OnUserSelected(const std::string& username) { |
| 191 } | 191 } |
| 192 | 192 |
| 193 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { | 193 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { |
| 194 NOTREACHED(); | 194 NOTREACHED(); |
| 195 } | 195 } |
| 196 | 196 |
| 197 void WebUIScreenLocker::OnStartDeviceReset() { |
| 198 NOTREACHED(); |
| 199 } |
| 200 |
| 197 //////////////////////////////////////////////////////////////////////////////// | 201 //////////////////////////////////////////////////////////////////////////////// |
| 198 // LockWindow::Observer implementation: | 202 // LockWindow::Observer implementation: |
| 199 | 203 |
| 200 void WebUIScreenLocker::OnLockWindowReady() { | 204 void WebUIScreenLocker::OnLockWindowReady() { |
| 201 lock_ready_ = true; | 205 lock_ready_ = true; |
| 202 if (webui_ready_) | 206 if (webui_ready_) |
| 203 ScreenLockReady(); | 207 ScreenLockReady(); |
| 204 } | 208 } |
| 205 | 209 |
| 206 } // namespace chromeos | 210 } // namespace chromeos |
| OLD | NEW |