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

Unified Diff: device/generic_sensor/public/cpp/device_sensors_consts.h

Issue 2370343002: [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: changed implementation Created 4 years, 2 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
Index: device/generic_sensor/public/cpp/device_sensors_consts.h
diff --git a/device/generic_sensor/public/cpp/device_sensors_consts.h b/device/generic_sensor/public/cpp/device_sensors_consts.h
new file mode 100644
index 0000000000000000000000000000000000000000..9bad667e1ad4af118be78ca192a6b89764989446
--- /dev/null
+++ b/device/generic_sensor/public/cpp/device_sensors_consts.h
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DEVICE_SENSORS_PUBLIC_CPP_DEVICE_SENSORS_CONSTS_H_
+#define DEVICE_SENSORS_PUBLIC_CPP_DEVICE_SENSORS_CONSTS_H_
+
+namespace device {
+
+// Default rate for returning value of the ambient light sensor.
+const int kDefaultAmbientLightFrequencyHz = 5;
+
+} // namespace device
+
+#endif // DEVICE_SENSORS_PUBLIC_CPP_DEVICE_SENSORS_CONSTS_H_

Powered by Google App Engine
This is Rietveld 408576698