| 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 CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" |
| 8 #include "base/macros.h" | 9 #include "base/macros.h" |
| 9 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 10 #include "device/battery/battery_monitor.mojom.h" | 11 #include "device/battery/battery_monitor.mojom.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 class WebBatteryStatusListener; | 14 class WebBatteryStatusListener; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 | 31 |
| 31 device::BatteryMonitorPtr monitor_; | 32 device::BatteryMonitorPtr monitor_; |
| 32 blink::WebBatteryStatusListener* listener_; | 33 blink::WebBatteryStatusListener* listener_; |
| 33 | 34 |
| 34 DISALLOW_COPY_AND_ASSIGN(BatteryStatusDispatcher); | 35 DISALLOW_COPY_AND_ASSIGN(BatteryStatusDispatcher); |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 } // namespace content | 38 } // namespace content |
| 38 | 39 |
| 39 #endif // CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ | 40 #endif // CONTENT_RENDERER_BATTERY_STATUS_BATTERY_STATUS_DISPATCHER_H_ |
| OLD | NEW |