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

Unified Diff: services/ui/ws/window_server_service_test_base.cc

Issue 2795883002: Eliminate OnConnect usage (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 | « services/ui/ws/window_server_service_test_base.h ('k') | services/ui/ws/window_server_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_service_test_base.cc
diff --git a/services/ui/ws/window_server_service_test_base.cc b/services/ui/ws/window_server_service_test_base.cc
index 4289dca2f44498bd751095ff9658abbe09d7d21e..ab3f357ce738b20d320e9a8e15d6478056b07b35 100644
--- a/services/ui/ws/window_server_service_test_base.cc
+++ b/services/ui/ws/window_server_service_test_base.cc
@@ -29,9 +29,11 @@ class WindowServerServiceTestClient
private:
// service_manager::test::ServiceTestClient:
- bool OnConnect(const service_manager::ServiceInfo& remote_info,
- service_manager::InterfaceRegistry* registry) override {
- return test_->OnConnect(remote_info.identity, registry);
+ void OnBindInterface(const service_manager::ServiceInfo& source_info,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) override {
+ test_->OnBindInterface(source_info, interface_name,
+ std::move(interface_pipe));
}
WindowServerServiceTestBase* test_;
« no previous file with comments | « services/ui/ws/window_server_service_test_base.h ('k') | services/ui/ws/window_server_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698