| Index: device/hid/hid_service_linux.h
|
| diff --git a/device/hid/hid_service_linux.h b/device/hid/hid_service_linux.h
|
| index 7972c80a782cc13c9a52eaeca0b98646e7cc5b34..fa6cef3cd623f7430318251aa3fe94c0379c22c0 100644
|
| --- a/device/hid/hid_service_linux.h
|
| +++ b/device/hid/hid_service_linux.h
|
| @@ -24,6 +24,8 @@ class HidServiceLinux : public HidService {
|
| HidServiceLinux(scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
|
| ~HidServiceLinux() override;
|
|
|
| + // HidService:
|
| + void Shutdown() override;
|
| void Connect(const HidDeviceId& device_id,
|
| const ConnectCallback& callback) override;
|
|
|
| @@ -53,7 +55,7 @@ class HidServiceLinux : public HidService {
|
|
|
| // The helper lives on the FILE thread and holds a weak reference back to the
|
| // service that owns it.
|
| - FileThreadHelper* helper_;
|
| + std::unique_ptr<FileThreadHelper> helper_;
|
| base::WeakPtrFactory<HidServiceLinux> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HidServiceLinux);
|
|
|