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

Unified Diff: device/generic_sensor/fake_platform_sensor_provider.cc

Issue 2865263002: Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: code rebase Created 3 years, 7 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/fake_platform_sensor_provider.cc
diff --git a/device/generic_sensor/fake_platform_sensor_provider.cc b/device/generic_sensor/fake_platform_sensor_provider.cc
deleted file mode 100644
index 7600c35e8eb489d418b6644d7a2e1b7059be26b7..0000000000000000000000000000000000000000
--- a/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 "device/generic_sensor/fake_platform_sensor.h"
-#include "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
« no previous file with comments | « device/generic_sensor/fake_platform_sensor_provider.h ('k') | device/generic_sensor/generic_sensor_consts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698