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

Unified Diff: services/ui/input_devices/input_device_server.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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: services/ui/input_devices/input_device_server.cc
diff --git a/services/ui/input_devices/input_device_server.cc b/services/ui/input_devices/input_device_server.cc
index c6bf1e94275dd76bd57a470ac99c06ee2fde85bb..acd30397f64c11a7eb9d1938b3dcb3e7f09dadc3 100644
--- a/services/ui/input_devices/input_device_server.cc
+++ b/services/ui/input_devices/input_device_server.cc
@@ -8,6 +8,7 @@
#include <vector>
#include "mojo/public/cpp/bindings/array.h"
+#include "services/shell/public/cpp/interface_registry.h"
#include "ui/events/devices/input_device.h"
#include "ui/events/devices/touchscreen_device.h"
@@ -33,9 +34,9 @@ bool InputDeviceServer::IsRegisteredAsObserver() const {
return manager_ != nullptr;
}
-void InputDeviceServer::AddInterface(shell::Connection* connection) {
+void InputDeviceServer::AddInterface(shell::InterfaceRegistry* registry) {
DCHECK(IsRegisteredAsObserver());
- connection->AddInterface<mojom::InputDeviceServer>(this);
+ registry->AddInterface<mojom::InputDeviceServer>(this);
}
void InputDeviceServer::AddObserver(
« no previous file with comments | « services/ui/input_devices/input_device_server.h ('k') | services/ui/public/cpp/tests/window_server_shelltest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698