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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_ 5 #ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_
6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_ 6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 #include "base/single_thread_task_runner.h"
10 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
11 #include "device/generic_sensor/generic_sensor_export.h" 12 #include "device/generic_sensor/generic_sensor_export.h"
12 #include "device/generic_sensor/platform_sensor.h" 13 #include "device/generic_sensor/platform_sensor.h"
13 14
14 namespace device { 15 namespace device {
15 16
16 // Base class that defines factory methods for PlatformSensor creation. 17 // Base class that defines factory methods for PlatformSensor creation.
17 // Its implementations must be accessed via GetInstance() method. 18 // Its implementations must be accessed via GetInstance() method.
18 class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensorProviderBase { 19 class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensorProviderBase {
19 public: 20 public:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 std::map<mojom::SensorType, PlatformSensor*> sensor_map_; 75 std::map<mojom::SensorType, PlatformSensor*> sensor_map_;
75 std::map<mojom::SensorType, CallbackQueue> requests_map_; 76 std::map<mojom::SensorType, CallbackQueue> requests_map_;
76 mojo::ScopedSharedBufferHandle shared_buffer_handle_; 77 mojo::ScopedSharedBufferHandle shared_buffer_handle_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderBase); 79 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderBase);
79 }; 80 };
80 81
81 } // namespace device 82 } // namespace device
82 83
83 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_ 84 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_BASE_H_
OLDNEW
« no previous file with comments | « device/generic_sensor/platform_sensor_linux.cc ('k') | device/generic_sensor/platform_sensor_provider_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698