diff options
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider_chromeos.cc')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider_chromeos.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/testing_automation_provider_chromeos.cc b/chrome/browser/automation/testing_automation_provider_chromeos.cc index 2ffc792..b4d65dc 100644 --- a/chrome/browser/automation/testing_automation_provider_chromeos.cc +++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc @@ -15,8 +15,8 @@ #include "chrome/browser/chromeos/audio_handler.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/network_library.h" +#include "chrome/browser/chromeos/cros/screen_lock_library.h" #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" -#include "chrome/browser/chromeos/dbus/power_manager_client.h" #include "chrome/browser/chromeos/dbus/update_engine_client.h" #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h" #include "chrome/browser/chromeos/login/existing_user_controller.h" @@ -276,7 +276,7 @@ void TestingAutomationProvider::Login(DictionaryValue* args, void TestingAutomationProvider::LockScreen(DictionaryValue* args, IPC::Message* reply_message) { new ScreenLockUnlockObserver(this, reply_message, true); - DBusThreadManager::Get()->GetPowerManagerClient()-> + CrosLibrary::Get()->GetScreenLockLibrary()-> NotifyScreenLockRequested(); } |