OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef ASH_SYSTEM_CHROMEOS_POWER_POWER_EVENT_OBSERVER_H_ | 5 #ifndef ASH_SYSTEM_POWER_POWER_EVENT_OBSERVER_H_ |
6 #define ASH_SYSTEM_CHROMEOS_POWER_POWER_EVENT_OBSERVER_H_ | 6 #define ASH_SYSTEM_POWER_POWER_EVENT_OBSERVER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chromeos/dbus/power_manager_client.h" | 12 #include "chromeos/dbus/power_manager_client.h" |
13 #include "chromeos/dbus/session_manager_client.h" | 13 #include "chromeos/dbus/session_manager_client.h" |
14 | 14 |
15 namespace ash { | 15 namespace ash { |
16 | 16 |
(...skipping 30 matching lines...) Expand all Loading... |
47 // If set, called when the lock screen animations have completed to confirm | 47 // If set, called when the lock screen animations have completed to confirm |
48 // that the system is ready to be suspended. | 48 // that the system is ready to be suspended. |
49 base::Closure screen_lock_callback_; | 49 base::Closure screen_lock_callback_; |
50 | 50 |
51 private: | 51 private: |
52 DISALLOW_COPY_AND_ASSIGN(PowerEventObserver); | 52 DISALLOW_COPY_AND_ASSIGN(PowerEventObserver); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace chromeos | 55 } // namespace chromeos |
56 | 56 |
57 #endif // ASH_SYSTEM_CHROMEOS_POWER_POWER_EVENT_OBSERVER_H_ | 57 #endif // ASH_SYSTEM_POWER_POWER_EVENT_OBSERVER_H_ |
OLD | NEW |