sensor_util.h 656 B

1234567891011121314151617181920
  1. // Copyright 2021 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. #ifndef CHROMEOS_COMPONENTS_SENSORS_SENSOR_UTIL_H_
  5. #define CHROMEOS_COMPONENTS_SENSORS_SENSOR_UTIL_H_
  6. #include "chromeos/components/sensors/mojom/cros_sensor_service.mojom.h"
  7. #include "mojo/public/cpp/bindings/pending_remote.h"
  8. namespace chromeos {
  9. namespace sensors {
  10. COMPONENT_EXPORT(CHROMEOS_SENSORS)
  11. bool BindSensorHalClient(mojo::PendingRemote<mojom::SensorHalClient> remote);
  12. } // namespace sensors
  13. } // namespace chromeos
  14. #endif // CHROMEOS_COMPONENTS_SENSORS_SENSOR_UTIL_H_