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

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

Issue 2948253002: Revert of Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « device/generic_sensor/sensor_provider_impl.cc ('k') | services/device/device_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/generic_sensor/public/interfaces/sensor_provider.mojom.h" 9 #include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h"
10 #include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h " 10 #include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h "
11 #include "device/sensors/public/interfaces/motion.mojom.h"
11 #include "device/sensors/public/interfaces/orientation.mojom.h" 12 #include "device/sensors/public/interfaces/orientation.mojom.h"
12 #include "device/wake_lock/public/interfaces/wake_lock_provider.mojom.h" 13 #include "device/wake_lock/public/interfaces/wake_lock_provider.mojom.h"
13 #include "device/wake_lock/wake_lock_context.h" 14 #include "device/wake_lock/wake_lock_context.h"
14 #include "mojo/public/cpp/bindings/binding_set.h" 15 #include "mojo/public/cpp/bindings/binding_set.h"
15 #include "services/device/public/interfaces/battery_monitor.mojom.h" 16 #include "services/device/public/interfaces/battery_monitor.mojom.h"
16 #include "services/device/public/interfaces/fingerprint.mojom.h" 17 #include "services/device/public/interfaces/fingerprint.mojom.h"
17 #include "services/device/public/interfaces/nfc_provider.mojom.h" 18 #include "services/device/public/interfaces/nfc_provider.mojom.h"
18 #include "services/device/public/interfaces/power_monitor.mojom.h" 19 #include "services/device/public/interfaces/power_monitor.mojom.h"
19 #include "services/device/public/interfaces/time_zone_monitor.mojom.h" 20 #include "services/device/public/interfaces/time_zone_monitor.mojom.h"
20 #include "services/device/public/interfaces/vibration_manager.mojom.h" 21 #include "services/device/public/interfaces/vibration_manager.mojom.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // service_manager::Service: 68 // service_manager::Service:
68 void OnStart() override; 69 void OnStart() override;
69 void OnBindInterface(const service_manager::BindSourceInfo& source_info, 70 void OnBindInterface(const service_manager::BindSourceInfo& source_info,
70 const std::string& interface_name, 71 const std::string& interface_name,
71 mojo::ScopedMessagePipeHandle interface_pipe) override; 72 mojo::ScopedMessagePipeHandle interface_pipe) override;
72 73
73 void BindFingerprintRequest( 74 void BindFingerprintRequest(
74 const service_manager::BindSourceInfo& source_info, 75 const service_manager::BindSourceInfo& source_info,
75 mojom::FingerprintRequest request); 76 mojom::FingerprintRequest request);
76 77
78 void BindMotionSensorRequest(
79 const service_manager::BindSourceInfo& source_info,
80 mojom::MotionSensorRequest request);
81
77 void BindOrientationSensorRequest( 82 void BindOrientationSensorRequest(
78 const service_manager::BindSourceInfo& source_info, 83 const service_manager::BindSourceInfo& source_info,
79 mojom::OrientationSensorRequest request); 84 mojom::OrientationSensorRequest request);
80 85
81 void BindOrientationAbsoluteSensorRequest( 86 void BindOrientationAbsoluteSensorRequest(
82 const service_manager::BindSourceInfo& source_info, 87 const service_manager::BindSourceInfo& source_info,
83 mojom::OrientationAbsoluteSensorRequest request); 88 mojom::OrientationAbsoluteSensorRequest request);
84 89
85 #if !defined(OS_ANDROID) 90 #if !defined(OS_ANDROID)
86 void BindBatteryMonitorRequest( 91 void BindBatteryMonitorRequest(
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #endif 141 #endif
137 142
138 service_manager::BinderRegistry registry_; 143 service_manager::BinderRegistry registry_;
139 144
140 DISALLOW_COPY_AND_ASSIGN(DeviceService); 145 DISALLOW_COPY_AND_ASSIGN(DeviceService);
141 }; 146 };
142 147
143 } // namespace device 148 } // namespace device
144 149
145 #endif // SERVICES_DEVICE_DEVICE_SERVICE_H_ 150 #endif // SERVICES_DEVICE_DEVICE_SERVICE_H_
OLDNEW
« no previous file with comments | « device/generic_sensor/sensor_provider_impl.cc ('k') | services/device/device_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698