Index: content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
index b98646a4e7fa01e08e5b204a227ac40f894957fe..683cf1dfad3b327b26a1e42404ad703b32147688 100644 |
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
+++ b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
@@ -5,11 +5,6 @@ |
#ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ |
#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ |
-#include <stddef.h> |
- |
-#include <string> |
- |
-#include "base/compiler_specific.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/browser/gamepad/gamepad_data_fetcher.h" |
@@ -28,10 +23,11 @@ class GamepadPlatformDataFetcherLinux : public GamepadDataFetcher { |
~GamepadPlatformDataFetcherLinux() override; |
// GamepadDataFetcher implementation. |
- void GetGamepadData(blink::WebGamepads* pads, |
- bool devices_changed_hint) override; |
+ void GetGamepadData(bool devices_changed_hint) override; |
private: |
+ void OnAddedToProvider() override; |
+ |
void RefreshDevice(udev_device* dev); |
void EnumerateDevices(); |
void ReadDeviceData(size_t index); |