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

Unified Diff: services/device/device_service.h

Issue 2729293002: Fix renderers not getting power broadcast messages (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/device/device_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/device_service.h
diff --git a/services/device/device_service.h b/services/device/device_service.h
index 630b928af7b9b8f033aa685a4c524723bfe4e708..69f3283e9d636f3097ed529fb3a5d4f745b8e829 100644
--- a/services/device/device_service.h
+++ b/services/device/device_service.h
@@ -15,6 +15,7 @@
namespace device {
+class PowerMonitorMessageBroadcaster;
class TimeZoneMonitor;
std::unique_ptr<service_manager::Service> CreateDeviceService(
@@ -47,6 +48,8 @@ class DeviceService
void Create(const service_manager::Identity& remote_identity,
mojom::TimeZoneMonitorRequest request) override;
+ std::unique_ptr<device::PowerMonitorMessageBroadcaster>
+ power_monitor_message_broadcaster_;
std::unique_ptr<device::TimeZoneMonitor> time_zone_monitor_;
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
« no previous file with comments | « no previous file | services/device/device_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698