| 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/chromeos/power/suspend_observer.h" | 5 #include "chrome/browser/chromeos/power/suspend_observer.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/login/user_manager.h" | 7 #include "chrome/browser/chromeos/login/user_manager.h" |
| 8 #include "chrome/browser/extensions/system/system_api.h" | 8 #include "chrome/browser/extensions/api/system_private/system_private_api.h" |
| 9 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
| 12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
| 13 #include "chromeos/dbus/dbus_thread_manager.h" | 13 #include "chromeos/dbus/dbus_thread_manager.h" |
| 14 #include "chromeos/display/output_configurator.h" | 14 #include "chromeos/display/output_configurator.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 SuspendObserver::SuspendObserver() | 18 SuspendObserver::SuspendObserver() |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 MessageLoop::current()->PostTask(FROM_HERE, screen_lock_callback_); | 54 MessageLoop::current()->PostTask(FROM_HERE, screen_lock_callback_); |
| 55 screen_lock_callback_.Reset(); | 55 screen_lock_callback_.Reset(); |
| 56 } | 56 } |
| 57 } | 57 } |
| 58 | 58 |
| 59 void SuspendObserver::ScreenIsUnlocked() { | 59 void SuspendObserver::ScreenIsUnlocked() { |
| 60 screen_locked_ = false; | 60 screen_locked_ = false; |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace chromeos | 63 } // namespace chromeos |
| OLD | NEW |