Index: content/browser/gamepad/gamepad_service.h |
diff --git a/content/browser/gamepad/gamepad_service.h b/content/browser/gamepad/gamepad_service.h |
index 22bea8c02a850cd230f5ca2a07b68925dbf899c6..072c665536452ff2ccf2076a9ecc2e34fe391657 100644 |
--- a/content/browser/gamepad/gamepad_service.h |
+++ b/content/browser/gamepad/gamepad_service.h |
@@ -79,6 +79,8 @@ class CONTENT_EXPORT GamepadService { |
// Called on IO thread when a gamepad is disconnected. |
void OnGamepadDisconnected(int index, const blink::WebGamepad& pad); |
+ GamepadProvider* provider() { return provider_.get(); } |
+ |
private: |
friend struct base::DefaultSingletonTraits<GamepadService>; |
friend class GamepadServiceTestConstructor; |