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

Unified Diff: device/gamepad/gamepad_monitor.h

Issue 2872563002: Use OnceCallback on Mojo interfaces in //device/gamepad (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | device/gamepad/gamepad_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_monitor.h
diff --git a/device/gamepad/gamepad_monitor.h b/device/gamepad/gamepad_monitor.h
index fa4d374078a23019f00293d84d776b1727638106..19d0d0d931a1cf39108c0bb2683c1b4250fd7532 100644
--- a/device/gamepad/gamepad_monitor.h
+++ b/device/gamepad/gamepad_monitor.h
@@ -32,9 +32,8 @@ class DEVICE_GAMEPAD_EXPORT GamepadMonitor
void OnGamepadDisconnected(unsigned index, const Gamepad& gamepad) override;
// mojom::GamepadMonitor implementation.
- void GamepadStartPolling(
- const GamepadStartPollingCallback& callback) override;
- void GamepadStopPolling(const GamepadStopPollingCallback& callback) override;
+ void GamepadStartPolling(GamepadStartPollingCallback callback) override;
+ void GamepadStopPolling(GamepadStopPollingCallback callback) override;
void SetObserver(mojom::GamepadObserverPtr gamepad_observer) override;
private:
« no previous file with comments | « no previous file | device/gamepad/gamepad_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698