OLD | NEW |
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 #include "services/device/device_service.h" | 5 #include "services/device/device_service.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/threading/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "device/generic_sensor/sensor_provider_impl.h" | |
16 #include "device/sensors/device_sensor_host.h" | 15 #include "device/sensors/device_sensor_host.h" |
17 #include "device/wake_lock/wake_lock_provider.h" | 16 #include "device/wake_lock/wake_lock_provider.h" |
18 #include "mojo/public/cpp/system/message_pipe.h" | 17 #include "mojo/public/cpp/system/message_pipe.h" |
19 #include "services/device/fingerprint/fingerprint.h" | 18 #include "services/device/fingerprint/fingerprint.h" |
| 19 #include "services/device/generic_sensor/sensor_provider_impl.h" |
20 #include "services/device/power_monitor/power_monitor_message_broadcaster.h" | 20 #include "services/device/power_monitor/power_monitor_message_broadcaster.h" |
21 #include "services/device/public/cpp/device_features.h" | 21 #include "services/device/public/cpp/device_features.h" |
22 #include "services/device/public/interfaces/battery_monitor.mojom.h" | 22 #include "services/device/public/interfaces/battery_monitor.mojom.h" |
23 #include "services/device/time_zone_monitor/time_zone_monitor.h" | 23 #include "services/device/time_zone_monitor/time_zone_monitor.h" |
24 #include "services/service_manager/public/cpp/bind_source_info.h" | 24 #include "services/service_manager/public/cpp/bind_source_info.h" |
25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
26 | 26 |
27 #if defined(OS_ANDROID) | 27 #if defined(OS_ANDROID) |
28 #include "base/android/jni_android.h" | 28 #include "base/android/jni_android.h" |
29 #include "device/nfc/nfc_provider.mojom.h" | 29 #include "device/nfc/nfc_provider.mojom.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 java_interface_provider_.Bind(std::move(provider)); | 277 java_interface_provider_.Bind(std::move(provider)); |
278 | 278 |
279 java_interface_provider_initialized_ = true; | 279 java_interface_provider_initialized_ = true; |
280 } | 280 } |
281 | 281 |
282 return &java_interface_provider_; | 282 return &java_interface_provider_; |
283 } | 283 } |
284 #endif | 284 #endif |
285 | 285 |
286 } // namespace device | 286 } // namespace device |
OLD | NEW |