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

Unified Diff: device/gamepad/gamepad_monitor.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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 | « device/bluetooth/test/fake_bluetooth.cc ('k') | 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 5572189e1751eea1639b970804353eacc2e1fa9c..fa4d374078a23019f00293d84d776b1727638106 100644
--- a/device/gamepad/gamepad_monitor.h
+++ b/device/gamepad/gamepad_monitor.h
@@ -11,6 +11,10 @@
#include "device/gamepad/gamepad_export.h"
#include "device/gamepad/public/interfaces/gamepad.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace device {
class DEVICE_GAMEPAD_EXPORT GamepadMonitor
@@ -20,7 +24,8 @@ class DEVICE_GAMEPAD_EXPORT GamepadMonitor
GamepadMonitor();
~GamepadMonitor() override;
- static void Create(mojom::GamepadMonitorRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ mojom::GamepadMonitorRequest request);
// GamepadConsumer implementation.
void OnGamepadConnected(unsigned index, const Gamepad& gamepad) override;
« no previous file with comments | « device/bluetooth/test/fake_bluetooth.cc ('k') | device/gamepad/gamepad_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698