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

Unified Diff: services/ui/ws/window_server_test_base.h

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.cc ('k') | services/ui/ws/window_server_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_test_base.h
diff --git a/services/ui/ws/window_server_test_base.h b/services/ui/ws/window_server_test_base.h
index 9d0167b885e5570f7eabab5d14eb52cb3a317752..d5b0ec36cd94490d3c7c9306d47bc6e00902a7c6 100644
--- a/services/ui/ws/window_server_test_base.h
+++ b/services/ui/ws/window_server_test_base.h
@@ -9,6 +9,7 @@
#include <set>
#include "base/macros.h"
+#include "services/service_manager/public/cpp/binder_registry.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
#include "services/ui/ws/window_server_service_test_base.h"
@@ -74,8 +75,9 @@ class WindowServerTestBase
void TearDown() override;
// WindowServerServiceTestBase:
- bool OnConnect(const service_manager::Identity& remote_identity,
- service_manager::InterfaceRegistry* registry) override;
+ void OnBindInterface(const service_manager::ServiceInfo& source_info,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) override;
// WindowTreeClientDelegate:
void OnEmbed(
@@ -159,6 +161,8 @@ class WindowServerTestBase
bool window_tree_client_lost_connection_ = false;
+ service_manager::BinderRegistry registry_;
+
DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase);
};
« no previous file with comments | « services/ui/ws/window_server_service_test_base.cc ('k') | services/ui/ws/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698