| 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 CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ | 5 #ifndef CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ |
| 6 #define CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ | 6 #define CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/power_monitor/power_monitor_source.h" | 9 #include "base/power_monitor/power_monitor_source.h" |
| 9 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 10 #include "ipc/ipc_channel.h" | 11 #include "ipc/ipc_channel.h" |
| 11 | 12 |
| 12 namespace IPC { | 13 namespace IPC { |
| 13 class MessageFilter; | 14 class MessageFilter; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 | 39 |
| 39 bool last_reported_battery_power_state_; | 40 bool last_reported_battery_power_state_; |
| 40 scoped_refptr<PowerMessageFilter> message_filter_; | 41 scoped_refptr<PowerMessageFilter> message_filter_; |
| 41 | 42 |
| 42 DISALLOW_COPY_AND_ASSIGN(PowerMonitorBroadcastSource); | 43 DISALLOW_COPY_AND_ASSIGN(PowerMonitorBroadcastSource); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace content | 46 } // namespace content |
| 46 | 47 |
| 47 #endif // CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ | 48 #endif // CONTENT_CHILD_POWER_MONITOR_BROADCAST_SOURCE_H_ |
| OLD | NEW |