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

Side by Side Diff: device/sensors/platform_sensor_configuration.h

Issue 2078433002: [sensors] Introduce Generic Sensor API interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for review comments. Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_
6 #define DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_
7
8 namespace device {
9
10 class PlatformSensorConfiguration {
11 public:
12 PlatformSensorConfiguration();
13 explicit PlatformSensorConfiguration(double frequency);
14 ~PlatformSensorConfiguration();
15
16 bool operator==(const PlatformSensorConfiguration& other) const;
17 bool operator>(const PlatformSensorConfiguration& other) const;
dcheng 2016/07/01 09:17:24 Is this operator used? I don't see it stored in an
shalamov 2016/07/01 14:22:47 We will be using it to find optimal configuration,
18
19 double GetFrequency() const;
20
21 private:
22 double frequency_;
23 };
24
25 } // namespace device
26
27 #endif // DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698