Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: device/gamepad/gamepad_test_helpers.h

Issue 2129003002: Refactored gamepad polling to support dynamic sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test issue and Mac XBoxDataFetcher constructor Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/gamepad/gamepad_test_helpers.h
diff --git a/device/gamepad/gamepad_test_helpers.h b/device/gamepad/gamepad_test_helpers.h
index 7681bf9769458ebe1938f42901955bd05c0c9eca..4e482dc1b064e615d297a61aa32397480ae7acb5 100644
--- a/device/gamepad/gamepad_test_helpers.h
+++ b/device/gamepad/gamepad_test_helpers.h
@@ -28,9 +28,10 @@ class MockGamepadDataFetcher : public GamepadDataFetcher {
~MockGamepadDataFetcher() override;
+ GamepadSource source() override;
+
// GamepadDataFetcher.
- void GetGamepadData(blink::WebGamepads* pads,
- bool devices_changed_hint) override;
+ void GetGamepadData(bool devices_changed_hint) override;
// Blocks the current thread until the GamepadProvider reads from this
// fetcher on the background thread.

Powered by Google App Engine
This is Rietveld 408576698