| Index: device/gamepad/gamepad_service.h
|
| diff --git a/device/gamepad/gamepad_service.h b/device/gamepad/gamepad_service.h
|
| index e9ffbe86c5dc9ca5482e8f098c30890f3f63c0d4..c5e4aafa0309b46ae02fa2d2ecf6e5d9ccd4b4ad 100644
|
| --- a/device/gamepad/gamepad_service.h
|
| +++ b/device/gamepad/gamepad_service.h
|
| @@ -19,10 +19,6 @@ namespace {
|
| class SingleThreadTaskRunner;
|
| }
|
|
|
| -namespace blink {
|
| -class WebGamepad;
|
| -}
|
| -
|
| namespace content {
|
| class GamepadServiceTestConstructor;
|
| }
|
| @@ -83,10 +79,10 @@ class DEVICE_GAMEPAD_EXPORT GamepadService
|
| void Terminate();
|
|
|
| // Called on IO thread when a gamepad is connected.
|
| - void OnGamepadConnected(int index, const blink::WebGamepad& pad);
|
| + void OnGamepadConnected(int index, const Gamepad& pad);
|
|
|
| // Called on IO thread when a gamepad is disconnected.
|
| - void OnGamepadDisconnected(int index, const blink::WebGamepad& pad);
|
| + void OnGamepadDisconnected(int index, const Gamepad& pad);
|
|
|
| private:
|
| friend struct base::DefaultSingletonTraits<GamepadService>;
|
| @@ -107,7 +103,7 @@ class DEVICE_GAMEPAD_EXPORT GamepadService
|
|
|
| void OnGamepadConnectionChange(bool connected,
|
| int index,
|
| - const blink::WebGamepad& pad) override;
|
| + const Gamepad& pad) override;
|
|
|
| void SetSanitizationEnabled(bool sanitize);
|
|
|
|
|