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

Unified Diff: device/generic_sensor/platform_sensor_ambient_light_mac.h

Issue 2859553003: Update PlatformSensorAmbientLightMac constructor (Closed)
Patch Set: update PlatformSensorAmbientLightMac constructor Created 3 years, 8 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
« no previous file with comments | « no previous file | device/generic_sensor/platform_sensor_ambient_light_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/platform_sensor_ambient_light_mac.h
diff --git a/device/generic_sensor/platform_sensor_ambient_light_mac.h b/device/generic_sensor/platform_sensor_ambient_light_mac.h
index a056b8b29d9b88e7b761de3bc63c30dbe8cd848b..649b32ec3eadd4d6dbaa211630d20400487834ed 100644
--- a/device/generic_sensor/platform_sensor_ambient_light_mac.h
+++ b/device/generic_sensor/platform_sensor_ambient_light_mac.h
@@ -19,11 +19,9 @@ namespace device {
// instance is not created.
class PlatformSensorAmbientLightMac : public PlatformSensor {
public:
- // Construct a platform sensor of |type| AMBIENT_LIGHT, given
- // a buffer |mapping| to write the result back. |task_runner| is
- // used to post the notification that the sensor reading has changed.
- PlatformSensorAmbientLightMac(mojom::SensorType type,
- mojo::ScopedSharedBufferMapping mapping,
+ // Construct a platform sensor of AMBIENT_LIGHT, given a buffer |mapping|
+ // to write the result back.
+ PlatformSensorAmbientLightMac(mojo::ScopedSharedBufferMapping mapping,
PlatformSensorProvider* provider);
mojom::ReportingMode GetReportingMode() override;
« no previous file with comments | « no previous file | device/generic_sensor/platform_sensor_ambient_light_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698