| Index: ash/test/test_shell_delegate.cc
|
| ===================================================================
|
| --- ash/test/test_shell_delegate.cc (revision 128508)
|
| +++ ash/test/test_shell_delegate.cc (working copy)
|
| @@ -15,7 +15,7 @@
|
| namespace ash {
|
| namespace test {
|
|
|
| -TestShellDelegate::TestShellDelegate() {
|
| +TestShellDelegate::TestShellDelegate() : locked_(false) {
|
| }
|
|
|
| TestShellDelegate::~TestShellDelegate() {
|
| @@ -29,11 +29,18 @@
|
| return true;
|
| }
|
|
|
| -#if defined(OS_CHROMEOS)
|
| void TestShellDelegate::LockScreen() {
|
| + locked_ = true;
|
| }
|
| -#endif
|
|
|
| +void TestShellDelegate::UnlockScreen() {
|
| + locked_ = false;
|
| +}
|
| +
|
| +bool TestShellDelegate::IsScreenLocked() const {
|
| + return locked_;
|
| +}
|
| +
|
| void TestShellDelegate::Exit() {
|
| }
|
|
|
|
|