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

Unified Diff: services/ui/public/cpp/tests/window_server_shelltest_base.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/public/cpp/tests/window_server_shelltest_base.cc
diff --git a/services/ui/public/cpp/tests/window_server_shelltest_base.cc b/services/ui/public/cpp/tests/window_server_shelltest_base.cc
index d6e11309e8bddb8b58c0abbf581a95a7fd3f3a28..ee55da418b63a7c6a0439bc36df16db5765106b3 100644
--- a/services/ui/public/cpp/tests/window_server_shelltest_base.cc
+++ b/services/ui/public/cpp/tests/window_server_shelltest_base.cc
@@ -9,7 +9,7 @@
#include "base/command_line.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "services/shell/public/cpp/shell_test.h"
#include "services/ui/common/switches.h"
#include "ui/gl/gl_switches.h"
@@ -28,8 +28,8 @@ class WindowServerShellTestClient : public shell::test::ShellTestClient {
private:
// shell::test::ShellTestClient:
- bool AcceptConnection(shell::Connection* connection) override {
- return test_->AcceptConnection(connection);
+ bool OnConnect(shell::Connection* connection) override {
+ return test_->OnConnect(connection);
}
WindowServerShellTestBase* test_;
@@ -53,8 +53,8 @@ WindowServerShellTestBase::WindowServerShellTestBase()
WindowServerShellTestBase::~WindowServerShellTestBase() {}
-std::unique_ptr<shell::ShellClient>
-WindowServerShellTestBase::CreateShellClient() {
+std::unique_ptr<shell::Service>
+WindowServerShellTestBase::CreateService() {
return base::WrapUnique(new WindowServerShellTestClient(this));
}
« no previous file with comments | « services/ui/public/cpp/tests/window_server_shelltest_base.h ('k') | services/ui/public/cpp/tests/window_server_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698