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/ash/session_state_delegate.h" | 5 #include "chrome/browser/ui/ash/session_state_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/chromeos/login/screen_locker.h" | 8 #include "chrome/browser/chromeos/login/screen_locker.h" |
9 #include "chrome/browser/chromeos/login/user_manager.h" | 9 #include "chrome/browser/chromeos/login/user_manager.h" |
10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 // TODO(antrim): Additional logging for http://crbug.com/173178. | 40 // TODO(antrim): Additional logging for http://crbug.com/173178. |
41 LOG(WARNING) << "Requesting screen lock from SessionStateDelegate"; | 41 LOG(WARNING) << "Requesting screen lock from SessionStateDelegate"; |
42 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> | 42 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> |
43 RequestLockScreen(); | 43 RequestLockScreen(); |
44 } | 44 } |
45 | 45 |
46 void SessionStateDelegate::UnlockScreen() { | 46 void SessionStateDelegate::UnlockScreen() { |
47 // This is used only for testing thus far. | 47 // This is used only for testing thus far. |
48 NOTIMPLEMENTED(); | 48 NOTIMPLEMENTED(); |
49 } | 49 } |
OLD | NEW |