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

Side by Side Diff: device/generic_sensor/platform_sensor_provider_mac.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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
5 #ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
7
8 #include "device/generic_sensor/platform_sensor_provider.h"
9
10 namespace device {
11
12 class PlatformSensorProviderMac : public PlatformSensorProvider {
13 public:
14 PlatformSensorProviderMac();
15 ~PlatformSensorProviderMac() override;
16
17 static PlatformSensorProviderMac* GetInstance();
18
19 protected:
20 void CreateSensorInternal(mojom::SensorType type,
21 mojo::ScopedSharedBufferMapping mapping,
22 const CreateSensorCallback& callback) override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderMac);
26 };
27
28 } // namespace device
29
30 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
OLDNEW
« no previous file with comments | « device/generic_sensor/platform_sensor_provider_linux.cc ('k') | device/generic_sensor/platform_sensor_provider_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698