Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Side by Side Diff: content/child/power_monitor_broadcast_source.h

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/power_monitor/power_monitor_source.h" 8 #include "base/power_monitor/power_monitor_source.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
(...skipping 12 matching lines...) Expand all
23 public base::PowerMonitorSource { 23 public base::PowerMonitorSource {
24 public: 24 public:
25 explicit PowerMonitorBroadcastSource(); 25 explicit PowerMonitorBroadcastSource();
26 virtual ~PowerMonitorBroadcastSource(); 26 virtual ~PowerMonitorBroadcastSource();
27 27
28 IPC::MessageFilter* GetMessageFilter(); 28 IPC::MessageFilter* GetMessageFilter();
29 29
30 private: 30 private:
31 friend class PowerMessageFilter; 31 friend class PowerMessageFilter;
32 32
33 virtual bool IsOnBatteryPowerImpl() OVERRIDE; 33 virtual bool IsOnBatteryPowerImpl() override;
34 34
35 void OnPowerStateChange(bool on_battery_power); 35 void OnPowerStateChange(bool on_battery_power);
36 void OnSuspend(); 36 void OnSuspend();
37 void OnResume(); 37 void OnResume();
38 38
39 bool last_reported_battery_power_state_; 39 bool last_reported_battery_power_state_;
40 scoped_refptr<PowerMessageFilter> message_filter_; 40 scoped_refptr<PowerMessageFilter> message_filter_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(PowerMonitorBroadcastSource); 42 DISALLOW_COPY_AND_ASSIGN(PowerMonitorBroadcastSource);
43 }; 43 };
44 44
45 } // namespace content 45 } // namespace content
46 46
47 #endif // CONTENT_CHILD_POWER_MONITOR_MESSAGE_FILTER_H_ 47 #endif // CONTENT_CHILD_POWER_MONITOR_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl.h ('k') | content/child/power_monitor_broadcast_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698