OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ | 5 #ifndef CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ |
6 #define CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ | 6 #define CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/power_monitor/power_observer.h" | 9 #include "base/power_monitor/power_observer.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 | 11 |
12 namespace IPC { | 12 namespace IPC { |
13 class Sender; | 13 class Sender; |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 // A class used to monitor the power state change and communicate it to child | 18 // A class used to monitor the power state change and communicate it to child |
(...skipping 13 matching lines...) Expand all Loading... |
32 | 32 |
33 private: | 33 private: |
34 IPC::Sender* sender_; | 34 IPC::Sender* sender_; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(PowerMonitorMessageBroadcaster); | 36 DISALLOW_COPY_AND_ASSIGN(PowerMonitorMessageBroadcaster); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace content | 39 } // namespace content |
40 | 40 |
41 #endif // CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ | 41 #endif // CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ |
OLD | NEW |