| Index: services/device/generic_sensor/fake_platform_sensor_provider.cc
|
| diff --git a/services/device/generic_sensor/fake_platform_sensor_provider.cc b/services/device/generic_sensor/fake_platform_sensor_provider.cc
|
| deleted file mode 100644
|
| index db7acfb322cb8647b03f982629e7d8b6f78894a3..0000000000000000000000000000000000000000
|
| --- a/services/device/generic_sensor/fake_platform_sensor_provider.cc
|
| +++ /dev/null
|
| @@ -1,25 +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 "base/memory/singleton.h"
|
| -
|
| -#include "services/device/generic_sensor/fake_platform_sensor.h"
|
| -#include "services/device/generic_sensor/fake_platform_sensor_provider.h"
|
| -
|
| -namespace device {
|
| -
|
| -FakePlatformSensorProvider::FakePlatformSensorProvider() = default;
|
| -
|
| -FakePlatformSensorProvider::~FakePlatformSensorProvider() = default;
|
| -
|
| -void FakePlatformSensorProvider::CreateSensorInternal(
|
| - mojom::SensorType type,
|
| - mojo::ScopedSharedBufferMapping mapping,
|
| - const CreateSensorCallback& callback) {
|
| - scoped_refptr<FakePlatformSensor> sensor =
|
| - new FakePlatformSensor(type, std::move(mapping), this);
|
| - callback.Run(std::move(sensor));
|
| -}
|
| -
|
| -} // namespace device
|
|
|