| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ | 5 #ifndef DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ |
| 6 #define DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ | 6 #define DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/callback_list.h" | 8 #include "base/callback_list.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
| 11 #include "device/battery/battery_export.h" | 12 #include "device/battery/battery_export.h" |
| 12 #include "device/battery/battery_status.mojom.h" | 13 #include "device/battery/battery_status.mojom.h" |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace device { | 19 namespace device { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 BatteryStatus status_; | 65 BatteryStatus status_; |
| 65 bool status_updated_; | 66 bool status_updated_; |
| 66 bool is_shutdown_; | 67 bool is_shutdown_; |
| 67 | 68 |
| 68 DISALLOW_COPY_AND_ASSIGN(BatteryStatusService); | 69 DISALLOW_COPY_AND_ASSIGN(BatteryStatusService); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 } // namespace device | 72 } // namespace device |
| 72 | 73 |
| 73 #endif // DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ | 74 #endif // DEVICE_BATTERY_BATTERY_STATUS_SERVICE_H_ |
| OLD | NEW |