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

Side by Side Diff: services/device/device_service.h

Issue 2818673003: [DeviceService] Expose battery monitoring solely via the Device Service (Closed)
Patch Set: Java file format change Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_DEVICE_DEVICE_SERVICE_H_ 5 #ifndef SERVICES_DEVICE_DEVICE_SERVICE_H_
6 #define SERVICES_DEVICE_DEVICE_SERVICE_H_ 6 #define SERVICES_DEVICE_DEVICE_SERVICE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "device/battery/battery_monitor.mojom.h"
10 #include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h" 9 #include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h"
11 #include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h " 10 #include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h "
12 #include "device/sensors/public/interfaces/motion.mojom.h" 11 #include "device/sensors/public/interfaces/motion.mojom.h"
13 #include "device/sensors/public/interfaces/orientation.mojom.h" 12 #include "device/sensors/public/interfaces/orientation.mojom.h"
14 #include "device/wake_lock/public/interfaces/wake_lock_context_provider.mojom.h" 13 #include "device/wake_lock/public/interfaces/wake_lock_context_provider.mojom.h"
15 #include "device/wake_lock/wake_lock_service_context.h" 14 #include "device/wake_lock/wake_lock_service_context.h"
16 #include "mojo/public/cpp/bindings/binding_set.h" 15 #include "mojo/public/cpp/bindings/binding_set.h"
16 #include "services/device/public/interfaces/battery_monitor.mojom.h"
17 #include "services/device/public/interfaces/fingerprint.mojom.h" 17 #include "services/device/public/interfaces/fingerprint.mojom.h"
18 #include "services/device/public/interfaces/power_monitor.mojom.h" 18 #include "services/device/public/interfaces/power_monitor.mojom.h"
19 #include "services/device/public/interfaces/time_zone_monitor.mojom.h" 19 #include "services/device/public/interfaces/time_zone_monitor.mojom.h"
20 #include "services/device/public/interfaces/vibration_manager.mojom.h" 20 #include "services/device/public/interfaces/vibration_manager.mojom.h"
21 #include "services/service_manager/public/cpp/binder_registry.h" 21 #include "services/service_manager/public/cpp/binder_registry.h"
22 #include "services/service_manager/public/cpp/interface_provider.h" 22 #include "services/service_manager/public/cpp/interface_provider.h"
23 #include "services/service_manager/public/cpp/service.h" 23 #include "services/service_manager/public/cpp/service.h"
24 24
25 namespace base { 25 namespace base {
26 class SingleThreadTaskRunner; 26 class SingleThreadTaskRunner;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 WakeLockContextCallback wake_lock_context_callback_; 126 WakeLockContextCallback wake_lock_context_callback_;
127 127
128 service_manager::BinderRegistry registry_; 128 service_manager::BinderRegistry registry_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(DeviceService); 130 DISALLOW_COPY_AND_ASSIGN(DeviceService);
131 }; 131 };
132 132
133 } // namespace device 133 } // namespace device
134 134
135 #endif // SERVICES_DEVICE_DEVICE_SERVICE_H_ 135 #endif // SERVICES_DEVICE_DEVICE_SERVICE_H_
OLDNEW
« no previous file with comments | « services/device/battery/battery_status_service_unittest.cc ('k') | services/device/device_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698