OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chromeos/chromeos_export.h" | 14 #include "chromeos/chromeos_export.h" |
15 #include "chromeos/dbus/dbus_client.h" | 15 #include "chromeos/dbus/dbus_client.h" |
16 #include "chromeos/dbus/dbus_client_types.h" | 16 #include "chromeos/dbus/dbus_client_implementation_type.h" |
17 #include "third_party/cros_system_api/dbus/service_constants.h" | 17 #include "third_party/cros_system_api/dbus/service_constants.h" |
18 | 18 |
19 namespace power_manager { | 19 namespace power_manager { |
20 class PowerManagementPolicy; | 20 class PowerManagementPolicy; |
21 class PowerSupplyProperties; | 21 class PowerSupplyProperties; |
22 } | 22 } |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 // Callback used for getting the current screen brightness. The param is in the | 26 // Callback used for getting the current screen brightness. The param is in the |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // Create() should be used instead. | 204 // Create() should be used instead. |
205 PowerManagerClient(); | 205 PowerManagerClient(); |
206 | 206 |
207 private: | 207 private: |
208 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient); | 208 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient); |
209 }; | 209 }; |
210 | 210 |
211 } // namespace chromeos | 211 } // namespace chromeos |
212 | 212 |
213 #endif // CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ | 213 #endif // CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ |
OLD | NEW |