| Index: services/device/public/cpp/generic_sensor/sensor_reading.cc
|
| diff --git a/services/device/public/cpp/generic_sensor/sensor_reading.cc b/services/device/public/cpp/generic_sensor/sensor_reading.cc
|
| deleted file mode 100644
|
| index 85b2c369c23df7093df610d9ce93f2dfd71a54f1..0000000000000000000000000000000000000000
|
| --- a/services/device/public/cpp/generic_sensor/sensor_reading.cc
|
| +++ /dev/null
|
| @@ -1,23 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "services/device/public/cpp/generic_sensor/sensor_reading.h"
|
| -
|
| -namespace device {
|
| -
|
| -SensorReading::SensorReading() = default;
|
| -SensorReading::SensorReading(const SensorReading& other) = default;
|
| -SensorReading::~SensorReading() = default;
|
| -
|
| -SensorReadingSharedBuffer::SensorReadingSharedBuffer() = default;
|
| -SensorReadingSharedBuffer::~SensorReadingSharedBuffer() = default;
|
| -
|
| -// static
|
| -uint64_t SensorReadingSharedBuffer::GetOffset(mojom::SensorType type) {
|
| - return (static_cast<uint64_t>(mojom::SensorType::LAST) -
|
| - static_cast<uint64_t>(type)) *
|
| - sizeof(SensorReadingSharedBuffer);
|
| -}
|
| -
|
| -} // namespace device
|
|
|