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 #ifndef ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ |
6 #define ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ | 6 #define ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "chromeos/dbus/power_manager/power_supply_properties.pb.h" | 16 #include "chromeos/dbus/power_manager/power_supply_properties.pb.h" |
17 #include "chromeos/dbus/power_manager_client.h" | 17 #include "chromeos/dbus/power_manager_client.h" |
18 #include "ui/gfx/image/image_skia.h" | 18 #include "ui/gfx/image/image_skia.h" |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 | 21 |
22 // PowerStatus is a singleton that receives updates about the system's | 22 // PowerStatus is a singleton that receives updates about the system's |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 184 |
185 // Current state. | 185 // Current state. |
186 power_manager::PowerSupplyProperties proto_; | 186 power_manager::PowerSupplyProperties proto_; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(PowerStatus); | 188 DISALLOW_COPY_AND_ASSIGN(PowerStatus); |
189 }; | 189 }; |
190 | 190 |
191 } // namespace ash | 191 } // namespace ash |
192 | 192 |
193 #endif // ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ | 193 #endif // ASH_SYSTEM_CHROMEOS_POWER_POWER_STATUS_H_ |
OLD | NEW |