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

Side by Side Diff: services/device/public/interfaces/sensor.mojom

Issue 2865263002: Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: code rebase 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 module device.mojom; 5 module device.mojom;
6 6
7 // Types of supported sensors 7 // Types of supported sensors
8 // When adding new sensor type, update the documentation of sensor data values 8 // When adding new sensor type, update the documentation of sensor data values
9 // in SensorReading struct at sensor_reading.h file. 9 // in SensorReading struct at sensor_reading.h file.
10 enum SensorType { 10 enum SensorType {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Interface that client of the Sensor interface must implement to observe 82 // Interface that client of the Sensor interface must implement to observe
83 // sensor reading changes and error conditions. 83 // sensor reading changes and error conditions.
84 interface SensorClient { 84 interface SensorClient {
85 // Signals SensorClient when there is an error. 85 // Signals SensorClient when there is an error.
86 RaiseError(); 86 RaiseError();
87 87
88 // Signals SensorClient when reading has been changed (only for sensors with 88 // Signals SensorClient when reading has been changed (only for sensors with
89 // ReportingMode::ON_CHANGE). 89 // ReportingMode::ON_CHANGE).
90 SensorReadingChanged(); 90 SensorReadingChanged();
91 }; 91 };
OLDNEW
« no previous file with comments | « services/device/public/interfaces/OWNERS ('k') | services/device/public/interfaces/sensor.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698