| Index: chrome/browser/chromeos/device/input_service_proxy.h
|
| diff --git a/chrome/browser/chromeos/device/input_service_proxy.h b/chrome/browser/chromeos/device/input_service_proxy.h
|
| index e41196f62ca05046a4dda634f82ab0fc329dce87..4514144935e74f7817712eeb6f2d4ca7017dbba8 100644
|
| --- a/chrome/browser/chromeos/device/input_service_proxy.h
|
| +++ b/chrome/browser/chromeos/device/input_service_proxy.h
|
| @@ -35,7 +35,7 @@ class InputServiceProxy {
|
| GetDeviceInfoCallback;
|
|
|
| InputServiceProxy();
|
| - ~InputServiceProxy();
|
| + virtual ~InputServiceProxy();
|
|
|
| // Used for early init for cashing info about available HID.
|
| static void WarmUp();
|
| @@ -43,17 +43,20 @@ class InputServiceProxy {
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|
| - void GetDevices(const GetDevicesCallback& callback);
|
| - void GetDeviceInfo(const std::string& id,
|
| - const GetDeviceInfoCallback& callback);
|
| + virtual void GetDevices(const GetDevicesCallback& callback);
|
| + virtual void GetDeviceInfo(const std::string& id,
|
| + const GetDeviceInfoCallback& callback);
|
| +
|
| + protected:
|
| + ObserverList<Observer> observers_;
|
|
|
| private:
|
| class ServiceObserver;
|
|
|
| - void OnDeviceAdded(const device::InputServiceLinux::InputDeviceInfo& info);
|
| - void OnDeviceRemoved(const std::string& id);
|
| + virtual void OnDeviceAdded(
|
| + const device::InputServiceLinux::InputDeviceInfo& info);
|
| + virtual void OnDeviceRemoved(const std::string& id);
|
|
|
| - ObserverList<Observer> observers_;
|
| scoped_ptr<ServiceObserver> service_observer_;
|
|
|
| base::ThreadChecker thread_checker_;
|
|
|