| Index: services/device/device_service.cc
|
| diff --git a/services/device/device_service.cc b/services/device/device_service.cc
|
| index 7a225c43c71cd0408c5566605184f2d8626a7bfa..f51d5a922e3a6299e84254a1f03144dee9c8e986 100644
|
| --- a/services/device/device_service.cc
|
| +++ b/services/device/device_service.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| +#include "services/device/fingerprint/fingerprint.h"
|
| #include "services/device/power_monitor/power_monitor_message_broadcaster.h"
|
| #include "services/device/time_zone_monitor/time_zone_monitor.h"
|
| #include "services/service_manager/public/cpp/connection.h"
|
| @@ -41,12 +42,18 @@ void DeviceService::OnStart() {}
|
|
|
| bool DeviceService::OnConnect(const service_manager::ServiceInfo& remote_info,
|
| service_manager::InterfaceRegistry* registry) {
|
| + registry->AddInterface<mojom::Fingerprint>(this);
|
| registry->AddInterface<mojom::PowerMonitor>(this);
|
| registry->AddInterface<mojom::TimeZoneMonitor>(this);
|
| return true;
|
| }
|
|
|
| void DeviceService::Create(const service_manager::Identity& remote_identity,
|
| + mojom::FingerprintRequest request) {
|
| + Fingerprint::Create(std::move(request));
|
| +}
|
| +
|
| +void DeviceService::Create(const service_manager::Identity& remote_identity,
|
| mojom::PowerMonitorRequest request) {
|
| PowerMonitorMessageBroadcaster::Create(std::move(request));
|
| }
|
|
|